Modify the Number of cPanel SpamAssassin Processes

 

Modify the Number of cPanel SpamAssassin Processes

While cPanel does allow you to use the Spam Assassin service to filter spam from your email server, it does not setup any optimial values and will setup a detail limit of 20. The  result of this is that the Spam Assassin service will crash if you server is receiving a high number of emails at any given time. This will show up in your error logs as the following error:

"spamd failed @ Wed Sep 15 08:52:12 2010. A restart was attempted automagically."

This is due to the number of processes that Spam Assassin is currently running. You can correct this by installing the Spam Assassin plugin for cPanel and then modifying the number of processes that can be ran. To do so, you will need to do the following.

  1. Log into your WHM panel by going to Https://yourip.com:2087.
  2. Once you have logged in, you will need to navigate to the "Manage Plugins" link. You can also type in "Manage Plugins" in the search box, at the upper left hand site of the screen. Once you have found the link, click "Manage Plugins".

    1

  3. Once you have done this, you will now need to locate the cPanel "Spamdconf" plugin. By default it is not installed, but it will be listed. If you have already had our Hosting.com support install this for you, do not click on the "Uninstall Spamdconf", as doing so will revert any changes. If you have not had support do this for you already, please click on the "Install Spamdconf" button. This will install the plugin that we will need for step 4.
  4. 2

  5. Now that the "Spamdconf" plugin has been installed, we can access the actual plugin. To do so, please navigate back to the WHM home screen. The Plugin section will now appear at the both of the left hand side screen. In this section you will now see the "Setup Spamd Startup Configuration" plugin. Click on this to proceed.
  6. 3

  7. You will now see the "SpamD Startup Configuration". This will allow you to setup the maximum number of Spam Assasin processes (Children), the maximum number of connections per children and will also let you restrict connections per specific IP address to Spam Assassin. Here you will want to modify the Maximum Children value. Setting it lower will help save server resources, such as memory and cpu, and will help keep your server online in the event that your email server is flooded. We recommend a value of 5-6 for a baseline configuration. You can then increase the number of processes allowed as needed. When you are finished with your changes, make sure you click on the submit button to save them.

4

Â

  • 260 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

..htaccess guidance

  .htaccess guidance .htaccess is a special Apache file that tells your website how to...

Linux Sites preview Offline

Linux Site's Preview Offline   http://IP_address/~UserName OR http://ServerName/~userName...

How to scan your website's data from CPanel?

Welcome the comprehensive step-by-step guide by our web hosting company on how to scan your...

How Can I Download a Backup of Full cPanel Account Using FTP?

If you want to download a backup of your website using FTP, please follow these easy steps below:...

How to create an addon domain?

An add-on domain is a fully functional domain and it can be created by using your Cpanel. Add-on...