Dave Mabe wrote:
> I'm storing my Bayes config in mysql and it works as expected when I
> manually run spamassassin on a mail message.
> 
> X-Spam-Status: Yes, score=17.9 required=5.0
> tests=BAYES_99,FORGED_MUA_OUTLOOK,
>         FORGED_OUTLOOK_HTML,FORGED_OUTLOOK_TAGS,HTML_MESSAGE,MIME_HTML_ONLY,
>         MSGID_FROM_MTA_ID,RCVD_IN_BL_SPAMCOP_NET,SPF_SOFTFAIL,UNDISC_RECIPS
>         autolearn=no version=3.1.0

Question: what user did you manually run spamassassin as for this test?

> However, when it comes in via Postfix and kicks off using procmail, the
> Bayes test is apparently not run.
> 
> X-Spam-Status: Yes, score=10.1 required=5.0 tests=FORGED_MUA_OUTLOOK,
>         FORGED_OUTLOOK_HTML,FORGED_OUTLOOK_TAGS,HTML_MESSAGE,MIME_HTML_ONLY,
>         MSGID_FROM_MTA_ID,UNDISC_RECIPS autolearn=no version=3.1.0


Question, what user does postfix invoke procmail as? Is it the same as above?

If not, be aware the default bayes path is relative to the home directory of the
user that executes SA. Note carefully that this is the user executing SA, not
the user the mail is addressed to.

Reply via email to