MailScanner 4.50.15 not picking up new rules from sa-update

Adri Koppes adrik at salesmanager.nl
Thu Apr 6 09:02:32 IST 2006


I am running the MailScanner port on FreeBSD 5.4 with sendmail as my MTA
and SpamAssassin 3.1.1.
I recently ran the 'sa-update' program included in SpamAssassin to pick
up newly added and changed rules.
The sa-update program correctly downloads the updated rules to the
default location of
'/var/lib/spamassassin/3.001001/updates_spamassassin_org' and when
running spamassassin -D --lint, I can see the new rules being used.
However the new rules are NOT being used by SpamAssassin when called
from inside MailScanner.
I believe this is due to an omission in SA.pm when creating a new
instance of Mail::SpamAssassin.
The LOCAL_STATE_DIR config option, which is normally '/var/lib' is not
included in the $settings.

Adri.


More information about the MailScanner mailing list