CategoryServer

cPanel/WHM Frozen Emails root@

In WHM I had emails to nobody and cpanel under “Edit System Mail Preferences” setup to go to root but nothing specified for root.

The setup basically became confused and I was stuck with thousands of frozen emails to root@hostname emails in Exim hogging the email queue.

You can quickly and easily find and remove all frozen emails in the Exim queue with ease. See the command and then the link below.

exim -bp | grep -c frozen

Source: WHM – Removing Frozen email from exim (Cpanel fozen emails)

How To Fix cPanel FTP Connection Issue

I was trying to FTP into a new server I had just setup and couldn’t. I received this error message:

Server sent passive reply with unroutable address. Using server address instead

The error message was specifically in FileZilla whereas many other FTP clients may just give an error such as “Could not connect” or something similar. Then you know a connection cannot be made to the FTP server.

Continue reading

Install Composer on cPanel/WHM

You can install Composer globally on your server running cPanel/WHM.

I mostly use CentOS linux distro for my web servers but you can install Composer on any operating system or distribution.

To install Composer, you’ll need SSH access and preferably root or a user with the appropriate permissions to do this.

Continue reading

cPanel/WHM: Change mail server IP address

I love emails, it fascinates me! I am still frequently surprised and intrigued by the various algorithms and procedures that mail servers follow to look up, identify, read and process emails. Working with emails and making sure that headers, identification, content, etc. are all appropriate can get tricky. At least we can reduce the stress caused by blacklisted IP addresses!

Let’s get started!

Continue reading

git svn Item is out of date

From my experience, git svn is troublesome but sometimes you have no choice.

Using only svn or only git is fine. I used to love svn and switched over to git primarily due to it’s user-friendly structure and interfaces. Unfortunately using git and svn together with a git repository pushing to a subversion trunk branch or some similar setup can get tricky.

I’m not an expert with git svn but I do have some experience with it mainly due to hosting plugins on the WordPress plugins directory and repository.

Continue reading

cPanel: Run backup manually

Run cPanel backups manually via command line.

For the legacy system, use this command:

/scripts/cpbackup

For the new backup system, use this command:

/usr/local/cpanel/bin/backup

The latter is most likely what you’re looking for and you can append it with a --force parameter to force the backup to start running.

And then you can tail the log that it outputs if you want to watch it as it runs.

How can I force a backup to run on the new 11.38 system in command line? Best Answer: Yes, you can use: /usr/local/cpanel/bin/backup –force Thank you.

Source: Force backup to run using new 11.38 system | cPanel Forums

CSF: How to Setup root forwarder

ConfigServer Security & Firewall may tell give you a warning on security check “Check root forwarder” under Mail/Exim.

Continue reading

PHP increase session time

When you use PHP sessions for your applications, the sessions have a specific period of time that they remain active for when idle. The session time is restored when you are active though.

Continue reading

cPanel: Copy someone on all incoming/outgoing emails

Send all incoming/outgoing emails to someone as a copy using cPanel.

The department manager or boss of the business may want to be included on all emails that employees/staff receive on their email accounts as a copy. Most preferably a BCC so that it is hidden/unseen.

You can achieve this with cPanel and Exim filters.

Continue reading

© 2017 Contrid

Theme by Anders NorénUp ↑

Pin It on Pinterest