CptanPanic wrote:
> Hello,
> I run spamc from my procmail on incoming messages.  Does this mean that all
> messages are using root bayes_db?
spamd/spamc will *NEVER* use root's bayes db. If spamd finds itself
running as root it will setuid itself to nobody for safety.
>   If so why do the clients have stuff updated in their db in their home 
> directories? 
AFAIK, calling from procmail will cause spamc to be executed as the user
to whom the message will be delivered, so it should be creating a bayes
DB for each user.

If you wish to defeat that, pass a specific non-root user with the -u
parameter to spamc or spamd OR set up a globally rwx directory and
bayes_path (caution: bayes_path takes a path and partial filename, read
the docs carefully)

>  I am trying to figure this
> out so I can do sa-learn correctly.
> Thanks,
> CP
>   

Reply via email to