Local State Dir - /var/lib/spamassassin - SARE rules no hits

Martin Hepworth maxsec at gmail.com
Mon Nov 24 12:25:19 GMT 2008


2008/11/24 Jason Ede <J.Ede at birchenallhowden.co.uk>:
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>> bounces at lists.mailscanner.info] On Behalf Of Daniel Flensburg
>> Sent: 24 November 2008 10:56
>> To: MailScanner discussion
>> Subject: SV: Local State Dir - /var/lib/spamassassin - SARE rules no
>> hits
>>
>> Hi Kai!
>>
>> Sorry about the reply button, I think you are right.
>>
>> I tried the setting below and restarted the server. I cannot see any
>> SARE hits yet.
>> I'm pretty sure it's not working. (tried to send text that another
>> working server get SARE hits on outgoing tests, no hits on "my"side)
>>
>> What is the best way to test if rules in /var/lib/spamassassin are
>> working correctly?
>>
>> Why does the two commands below give different results?
>>
>> spamassassin -D --lint
>
> Try spamassassin -D --lint -p /<path to spam.assassin.prefs.conf file in MS directory>
>
> On my system its spamassassin -D --lint -p /etc/MailScanner/spam.assassin.prefs.conf
>
> Jason
>
>>
>> /opt/MailScanner/bin/MailScanner --debug --debug-sa
>>
>> Regards,
>>
>> /Daniel
>>
>> -----Ursprungligt meddelande-----
>> Från: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>> bounces at lists.mailscanner.info] För Kai Schaetzl
>> Skickat: den 23 november 2008 15:31
>> Till: mailscanner at lists.mailscanner.info
>> Ämne: Re: Local State Dir - /var/lib/spamassassin - SARE rules no hits
>>
>> Daniel Flensburg wrote on Fri, 21 Nov 2008 16:10:48 +0100:
>>
>> > You have no idea what you did?
>>
>> I found this snippet:
>> http://lists.mailscanner.info/pipermail/mailscanner/2008-
>> April/083684.html
>>
>> so
>>
>> SpamAssassin Local State Dir = /var/lib/spamassassin
>>
>> should work for you. Double-check that and don't forget to restart
>> MailScanner.
>>
>> Btw, I just notice that your start message doesn't thread correctly.
>> Please, if you send a question to a mailing list, do *not* hit reply,
>> the
>> "new message" button is for that!
>>
>> Kai
>>
>> --
>> Kai Schätzl, Berlin, Germany
>> Get your web at Conactive Internet Services: http://www.conactive.com



/etc/mail/spamassassin/mailscanner.cf should be a sym link to
spam.assassin.prefs.conf (whereever it is on your system) so

spamassassin -D --lint -p /etc/MailScanner/spam.assassin.prefs.conf

should make no difference at all

-- 
Martin Hepworth
Oxford, UK


More information about the MailScanner mailing list