Bayes - No auto learn?

Pete Russell pete at EATATHOME.COM.AU
Tue Nov 11 22:44:25 GMT 2003


Hi Kevin, thanks for your help.

Are you saying that i shouldnt attempt to use the sa-learn from a bash
script, or command prompt, while logged in as root? If so, how would i run a
script as postfix, as postfix has no login capability?

thanks
Pete



-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Kevin Spicer
Sent: Wednesday, 12 November 2003 9:12 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Bayes - No auto learn?


On Tue, 2003-11-11 at 21:49, Pete Russell wrote:

>i have changed the path in /root/.spamassassin/user_prefs to use the
>MailScaner bayes dir, (same as path in
>/etc/MailScanner/spam.assassin.prefs)
>/var/spool/MailScanner/spamassassin/bayes (without the _ on the end)

Thats part of the problem, your MailScanner doesn't run as root under
postfix (runs as postfix user).  So trying to use it as root is liable
to screw up permissions on the bayes files.



More information about the MailScanner mailing list