BuycPanel Blog

BuycPanel Blog

Latest news and updates

Scanning Outgoing Mail

Posted by Allura on 13 07 2018.

A Brief Introduction
To set up your mail servers to check if there is any spam in your outgoing mail, use the Advanced Editor option in WHM’s Exim Configuration Manager interface (WHM > Home > Service Configuration > Exim Configuration Manager). Spam sent by users to your system can be blocked using the outgoing_spam_scan option.

A Special Note:

The feature described by this document is unsupported and may not function appropriately later on.

 	After these steps have been executed on your server, the system administrator should henceforth be responsible for managing and maintaining the database software of the server.
 	We cannot be held accountable for any kind of damage to data while attempting these steps. Be careful and aware of what you are doing. Make backups whenever possible.
 	It is highly recommended that you set the Apache SpamAssassin™ score with the Apache SpamAssassin™ Options setting. You can do this through the Basic Editor…

A Brief Introduction

To set up your mail servers to check if there is any spam in your outgoing mail, use the Advanced Editor option in WHM’s Exim Configuration Manager interface (WHM > Home > Service Configuration > Exim Configuration Manager). Spam sent by users to your system can be blocked using the outgoing_spam_scan option.

A Special Note:

The feature described by this document is unsupported and may not function appropriately later on.

  • After these steps have been executed on your server, the system administrator should henceforth be responsible for managing and maintaining the database software of the server.
  • We cannot be held accountable for any kind of damage to data while attempting these steps. Be careful and aware of what you are doing. Make backups whenever possible.
  • It is highly recommended that you set the Apache SpamAssassin™ score with the Apache SpamAssassin™ Options setting. You can do this through the Basic Editor section of WHM’s Exim Configuration Manager panel (WHM > Home > Service Configuration > Exim Configuration Manager).

Scanning Outgoing Mail with Apache SpamAssassin

Run the steps mentioned below to check outgoing mail using Apache SpamAssassin:

  1. The feature must be activated first. Do this by selecting the outgoing_spam_scan checkbox. If you need more information about the scanning process, you can click on the box to expand it.
  2. Click on Save to confirm.

A Special Note:

One of the two options mentioned below might have been activated by your system administrator:

  • Your mail will be tallied with the internal spam_score option available within Apache SpamAssassin™. If they match, the mail will not be forwarded to external recipients.
  • The mail may or may not be forwarded based on the score defined within Apache SpamAssassin™ with the administrator.

These are available within WHM’s Exim Configuration Manager interface (WHM > Home > Service Configuration > Exim Configuration Manager). In that case, the messages that are forwarded by your system to remote email addresses will be scanned by Apache SpamAssassin.

If Apache SpamAssassin™ has not been included by your hosting provided in your cPanel account, you can create an email filter. This filter will redirect and sort all inbound spam. Follow the steps outlined below:

  • Locate the Spam Filters interface in cPanel. Click on Enable Apache SpamAssassin to activate Apache SpamAssassin in case it is disabled.
  • Go to the Global Email Filters interface and create a new filter. Fill up all the details under the Rules section.
  • Enter your desired spam score.
  • Choose the folder to which you want your spam delivered using the Deliver to folder
  • Click on Create to save and enable the spam filter.

Conclusion

You can set up Apache SpamAssassin™ to scan your outgoing mail for spam using these steps mentioned above.