Bayes - No auto learn?

Kevin Spicer kevins at BMRB.CO.UK
Tue Nov 11 23:15:21 GMT 2003


On Tue, 2003-11-11 at 22:44, Pete Russell wrote:


>Are you saying that i shouldnt attempt to use the sa-learn from a bash
>script, or command prompt, while logged in as root?

Yes

>If so, how would i run a
>script as postfix, as postfix has no login capability?

su to postfix  (maybe su -s /bin/bash - apache)
or use sudo
or do it from cron  (maybe need to add postfix to cron.allow)



More information about the MailScanner mailing list