On Fri, 13 Feb 2004, Ville Herva wrote:

> spamc < new.spam.29004.17779 > new.spam.29004.17779.spamc 
> spamassassin  < new.spam.29004.17779 > new.spam.29004.17779.spamassassin
> 
> spamd is running with these options:
>   /usr/bin/perl -T -w /usr/bin/spamd --max-children=30 --user-config -u spamc

OK, so spamd is running as the user "spamc" and spamassassin is running as
the current user (whoever that is).  So in all likelyhood they don't have
the same Bayes databases, and therefore won't generate the same score.

In fact, it seems likely that the spamc user's Bayes database hasn't yet
been trained on enough ham/spam for spamd to make use of it yet.

> Also, I'd like to turn off --local only for selected users (the few that
> execute spamc from their procmail, not for everybody.

Run two instances of spamd on different ports, one with --local and one
without.  Instruct the users calling spamc from procmail to supply the
appropriate -p option.

Reply via email to