Wednesday, September 11, 2013

Exim filter mails by body count for Spam Assassin

Enable /etc/cpanel_exim_system_filter in WHM->Exim Configurations.

Add this lines to /etc/cpanel_exim_system_filter :

Code:
if $message_body: contains "TEXT" and not error_message
then
seen finish
endif
Replace TEXT. For example: Viagra
Its done. You will not receive and send emails with TEXT in email body.

No comments:

Post a Comment