Thursday, 9 June 2011

ASSP spam filter in cpanel. useful commands.

These are the few useful path for ASSP spam filter set in the cPanel.


find the email: each time you need to analyze an email problem first check if the problem is on ASSP using commands like this
# tail -60000 /usr/local/assp/maillog.txt | grep "email" or
# tail -60000 /usr/local/assp/maillog.txt | grep "ip_address"
and , If the problem is not on ASSP then check the exim maillog with a command like this
# tail -60000 /var/log/exim_mainlog | grep "email" or
# tail -60000 /var/log/exim_mainlog | grep "ip_address"
You can monitor ASSP running in this way
# tail -f /usr/local/assp/maillog.txt
After the installation, and for the first 12/24 hours ASSP is running execute this often
# cd /usr/local/assp;/usr/bin/perl /usr/local/assp/rebuildspamdb.pl
/usr/local/assp/discarded
You can test if spambox is working in this way
# tail -f /var/log/exim_mainlog | grep "piping"

No comments: