[qmailtoaster] SA Bayes wrong - spambuttons

2008-06-24 Thread Kent Busbee
Something is wrong with my Spam Assassin Bayes. Every message seems to be coming in at bayes_00: X-Spam-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00, ... I have Spam Buttons setup in Squirrel Mail, and they seem to work. It may be that I am somehow running SA as the wrong user. It

Re: [qmailtoaster] SA Bayes wrong - spambuttons

2008-06-24 Thread Eric Shubert
I don't think that the -u option of sa-learn quite cuts it. According to the man page, that's (simply) used for sql. You need to run in vpopmail's entire environment (shell), so you should always run sa-learn using sudo: sudo -u vpopmail -H sa-learn ... Be sure to include the -H option, as that