spam scanning stopped working
Kurt Yoder
kylist at SHCORP.COM
Mon Aug 25 19:47:19 IST 2003
Julian Field said:
<snipped>
> MailScanner directly calls SpamAssassin's API, there isn't any
> external
> program involved. Looks like it isn't finding the SA rules dir. Have
> you
> changed any of the SpamAssassin settings in MailScanner.conf at all
> (other
> than "Use SpamAssassin = yes") ?
> Do a
> grep -i spamassassin /etc/MailScanner/MailScanner.conf
Here's a diff of my MailScanner.conf against the default:
diff -r MailScanner-4.22-5/etc/MailScanner.conf
MailScanner-4.22-5ii/etc/MailScanner.conf
168,169c168
< #TNEF Expander = /opt/MailScanner/bin/tnef --maxsize=100000000
< TNEF Expander = /usr/bin/tnef --maxsize=100000000
---
> TNEF Expander = /opt/MailScanner/bin/tnef --maxsize=100000000
430c429
< Quarantine Infections = no
---
> Quarantine Infections = yes
504c503
< Mail Header = X-MailScanner-Spam:
---
> Mail Header = X-MailScanner:
520c519
< #Information Header = X-MailScanner-Information:
---
> Information Header = X-MailScanner-Information:
556c555
< Multiple Headers = replace
---
> Multiple Headers = append
562c561
< Hostname = internet MailScanner
---
> Hostname = the MailScanner
662c661
< Spam Subject Text = {SPAM?}
---
> Spam Subject Text = {Spam?}
672c671
< High Scoring Spam Subject Text = {SPAM?}
---
> High Scoring Spam Subject Text = {Spam?}
827c826
< Use SpamAssassin = yes
---
> Use SpamAssassin = no
839c838
< Required SpamAssassin Score = 4
---
> Required SpamAssassin Score = 5
and a grep for spamassassin in MailScanner.conf excluding comment
lines:
Include Scores In SpamAssassin Report = yes
Use SpamAssassin = yes
Max SpamAssassin Size = 90000
Required SpamAssassin Score = 4
High SpamAssassin Score = 20
SpamAssassin Auto Whitelist = no
SpamAssassin Prefs File = %etc-dir%/spam.assassin.prefs.conf
SpamAssassin Timeout = 40
Max SpamAssassin Timeouts = 20
Check SpamAssassin If On Spam List = yes
Always Include SpamAssassin Report = no
Sender SpamAssassin Report = %report-dir%/sender.spam.sa.report.txt
SpamAssassin User State Dir =
SpamAssassin Install Prefix =
SpamAssassin Local Rules Dir =
SpamAssassin Default Rules Dir =
Debug SpamAssassin = no
I also did a diff -r between my Mailscanner installation and the
default. No files appear to be missing from my installation. Could
it be something in Spamassassin that would have changed?
--
Kurt Yoder
Sport & Health network administrator
More information about the MailScanner
mailing list