Posts Tagged ‘cPanel’
Configuring Spamassassin to show score for HAM on cPanel
Lately, I’ve been getting a storm of pesky junk mail on an account which is hosted on a dedicated WHM/cPanel server.
The WHM/cPanel server is a Centos 5 server with Exim mail server and Spamassassin anti-spam software installed and configured.
I went through the normal operation of staring at /var/log/maillog and /var/log/exim_rejectlog, as well as sending a test spam message to the server to make sure that the server was filtering spam properly and it seemed to be filtering messages ok. Read the rest of this entry »
Good to know when manually updating Apache configuration
For those out there that run WHM/cPanel servers and like to get under the hood to configure Apache outside of the WHM interface, here’s a need to know tip.
These commands must be run if you add any custom configurations to /usr/local/apache/conf/httpd.conf
This is because in cpanel/whm, the apache configuration is saved into a database for safe keeping, and when whm updates or rebuilds apache configuration it pulls the previous configuration from database.
This command must be run after the save
$ /usr/local/cpanel/bin/apache_conf_distiller --update
This command can be run to test if you changes were saved because it reloads the httpd.conf file from database.
/usr/local/cpanel/bin/build_apache_conf
I should also say that this is for Centos 5 servers (and probably RHEL too).