Page 1 of 1

qmail scanner with spamassassin on a specific interface

Posted: Sat Feb 20, 2010 1:14 pm
by thebitworks
We were doing some work with spamassassin the other day and noticed some weirdness in qmail scanner.
In short here is the issue (from qmail-scanner.ini):

This works:
# Spamassassin settings
SA_SETTINGS="-d -c -m5 -H -s /var/log/spamd.log" # Default settings for spamd
In the above case spamassassin runs on 127.0.0.1

This doesn't:
# Spamassassin settings
SA_SETTINGS="-d -i ###.###.###.### -c -m5 -H -s /var/log/spamd.log" # Default settings for spamd

If we try to run spamassassin on a specific IP qmail-scanner-reconfigure never sees it and drops it from the list of scanners installed in the system. Spamassassin runs this way without a problem, however qmail-scanner-reconfigure does not seem to see that it is running, and forevermore spamassassin will just sit there and take up space, but do little else as qmail-scanner is not using it as a default scanner.