Re: n00bie question regarding sa-learn

Sander Smeenk <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Quoting Marc Wilkinson ([email protected]):

> So my simple questions are; is the sa-learn DB per user?  or should I
> do run it as the user who is running sendmail?

With the current sa-exim implementation it's impossible to do per-user
settings and/or per-user bayes databases...

On my system, I configured spamc/spamd to use bayes files in a different
directory, by specifying that directory in /etc/spamassassin/local.cf
(debian...) and I myself have write rights on those databases, so I can
sa-learn spam/ham, and exim picks it up. You have to make sure the
rights on the files aren't restored to 600, so both you and the MTA have
write rights.

As you will understand this solution will only work on really small
systems with only two or three users. Marc once sent a possible solution
to implement multiple user configuration files, but afaict no-one took
the job to really implement it.

S.
-- 
| I had killed a man... A man who looked like me
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.