MailScanner, sa-learn and bayes_path troubles

Matthias Kellermann mkellermann at net-com.de
Fri Jun 29 10:06:18 IST 2007


Glenn Steen schrieb:
> Check that you have a symbolic link
> /etc/mail/spamassassin/mailscanner.cf that points to
> /etc/MailScanner/spam.assassin.prefs.conf (if you have the bayes_path
> setting in that one), or set it in your
> /etc/mail/spamassassin/local.cf (either, not both;-).

This was the problem. Fixed that.

> Also, check that the permissions for your bayes db (as specified in
> that SA cf) is "enough" for all users you plan to use (perhaps rw-rw-
> for postfix.apache, if you use MailWatch ... etc).

> The plan with such a setup is that you will use the same config
> irrespective of what user you might use to do the training. A bit of
> care (perhaps setting the directory rws) can go a long way toward
> avoiding problems (like root stomping on your permissions;-).

After adjusting the permissions it works like a charme - Thanks!

Regards,
Matthias


More information about the MailScanner mailing list