Originally posted by chirpy
Just that you should have MailScanner configured to use clamavmodule (Mail::ClamAV) and not clamav which will cause high cpu.
I believe that it will still run SA on an email that contains a virus.
One other way to reduce load is to use SA through MailScanner and disable it in WHM. This is because the cPanel implementation of SA delivers the same email twice through exim and causes MailScanner to scan it twice.
I've installed the clamav module last night and I noticed that, as you say, it reduces the CPU load.
I am just wondering if MS will still run SA on an email set to be discarded when a virus is found.
There is this section in MS config which grabbed my attention. Would than mean MS can make use of the user_prefs files in user directories?
Code:
# The per-user files (bayes, auto-whitelist, user_prefs) are looked
# for here and in ~/.spamassassin/. Note the files are mutable.
# If this is unset then no extra places are searched for.
# If using Postfix, you probably want to set this as shown in the example
# line at the end of this comment, and do
# mkdir /var/spool/MailScanner/spamassassin
# chown postfix.postfix /var/spool/MailScanner/spamassassin
#SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
SpamAssassin User State Dir =