cPanel’s spamassassin outgoing mail scan

cPanel now can have spamassassin scan outgoing mail. This is something that is a great feature to enable. You may have a secure server setup, emails per hour limited, php mail header patch on or other ability to track mail – but there is no sure way to keep every spam script out of your servers.

With this feature enabled, spamassassin will drop mail over a certain score. Originally you could only have the feature on or off, and not set a spam score but recent updates allow you to set a score.

If you are like me, you might rarely log into WHM, but want to enable this feature. Luckily you can from SSH.

For a score of 10 on outgoing spam set


in /etc/exim.conf.localopts

To use the default spamassasin score set

In the /etc/exim.conf.localopts file and do not set acl_outgoing_spam_scan_over_int

When done run


Leave a Reply

Your email address will not be published. Required fields are marked *