Scan Outgoing Mail for Spam
You can use WHM to configure your mailservers to scan outgoing mail for
spam. This helps prevent your server from being blacklisted by an
RBL, by preventing users from sending
spam from your system. To do so, you can enable SpamAssassin.
Scan outgoing mail with SpamAssassin
(
Main >> Service Configuration >> Exim Configuration Editor)
You can enable SpamAssassin to scan outgoing mail. To do so, you will need to use
Exim's
Advanced Configuration Editor.
- Scroll to the bottom of the page and click the Advanced Editor button.
- Add the following lines to the first text box available in the Advanced Configuration Editor interface:
-
# Scan non-smtp emails
acl_not_smtp = check_local
- Scroll down to the text box after check_message and at the following lines:
-
# Scan non-smtp emails
check_local:
deny message = This message contains malware ($malware_name)
demime = *
malware = *
deny message = This message was classified as SPAM
spam = nobody
accept
- Scroll down to the bottom of the page and click the Save button.
Topic revision: r1 - 07 Feb 2012 - 21:08:42 - Main.JustinSchaefer