[Mimedefang] Cannot get spamassassin to use bayes
Oliver Schulze L.
oliver at samera.com.py
Sat Oct 21 09:48:57 EDT 2006
Hi,
then the user mailnull must have access to that file, try this:
su mailnull -c touch /usr/etc/mail/spamassassin_test1
The problem is that with that bayes_path option, SA will create these files:
/usr/local/etc/mail/spamassassin_journal
/usr/local/etc/mail/spamassassin_seen
/usr/local/etc/mail/spamassassin_toks
If you want to create inside a directory, use this option:
bayes_path /usr/etc/mail/spamassassin/bayes
Then,
mkdir -p /usr/etc/mail/spamassassin/
and
su mailnull -c touch /usr/etc/mail/spamassassin/bayes_test1
and you will end up having these files:
/usr/local/etc/mail/spamassassin/bayes_journal
/usr/local/etc/mail/spamassassin/bayes_seen
/usr/local/etc/mail/spamassassin/bayes_toks
HTH
Oliver
Andrea Venturoli wrote:
> There is no defang user on my system; on FreeBSD mimedefang runs as
> user mailnull.
> I've got no /usr/etc/mail/spamassassin_* files; maybe you meant
> /usr/local/etc/mail/spamassassin/*?
> Permissions were good for user mailnull, but now I modified
> /usr/local/etc/mail recursively to be readable and writeable by
> everyone; still I don't get bayes working.
>
> bye & Thanks
> av.
--
Oliver Schulze L.
Get my e-mail after a captcha test in: http://tinymailto.com/oliver
More information about the MIMEDefang
mailing list