Some .cf files not being used by SpamAssassin under MailScanner?

Matt Kettler mkettler at EVI-INC.COM
Fri Sep 16 19:47:55 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Matt Kettler wrote:
> Martin Hepworth wrote:
> 
>>Sorry - joined halfway down the thread..
>>
>>And 
>>
>>spamassassin -p /opt/MailScanner/etc/spam.assassin.prefs.conf -D --lint
>>
>>gives not clues?
> 
> 
> That does give some hints.. apparently I have a config bug that was covered up
> by root's user_prefs.
> 

Martin, thanks a ton.. Thanks to you I found the problem and have fixed it.

Usually I keep root's user_prefs and spam.assassin.prefs.conf in-sync, so they
have the same content.

I do this all the time, EXCEPT when I'm testing rules.. then I add them to
root's user_prefs, then later add them to a .cf file in /etc/mail/spamassassin.

In this case, one of my 419 scam rules got corrupted by my copy-paste. However,
I left the correct copy in root's user_prefs.

Running spamassassin --lint as root caused user_prefs to over-write the
corrupted rule, and no problem was visible.

However, adding -p made the problem obvious, as spam.assassin.prefs.conf didn't
have the "fix" in it.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list