freightcar wrote:
> exim 4.50, spamassassin  3.0.3
>
> I have spamd daemon running and when the message is checked
> automatically it gets BAYES_00 and when I check the same message in
> debug mode it gets BAYES_99 which means 6 pts less with default
> settings. all other test seem to get same result. where could be the
> problem?

First, by "check in debug mode" do you mean running spamassassin -D?

If so, are you SURE this is going to use the same bayes db as calling
spamc?

Important points to check before answering the second question:

-Are you in fact running this as the same user that invokes spamc? Note
this is NOT always the same as the recipient. It's often "mail" "root"
"nobody" "amavis" or a similar daemon user. Try manually passing the
message to spamc and compare the results.

-Messages run through spamc/spamd will NEVER use root for a bayes DB,
but the spamassassin command will. spamc/spamd will use "nobody" if
called as root. (and "nobody" should NOT have a writable home directory,
thus should have no bayes database, unless someone foolishly made a
writeable homedir for nobody.)

-spamd might be started with the -u parameter, which forces a specific
user, regardless of who calls spamc. To get the same effect you'd need
to run "spamassassin" while SU'ed to that user.



Reply via email to