I am using SpamAssassin 2.63 with MIMEDefang 2.39 and Sendmail 8.12.9
on a Solaris 8 system to block spam during SMTP sessions. I want to
have the milter use per-user Bayes databases while allowing the users
to train them with sa-learn, but I am finding it difficult to keep the
milter from writing to the databases in a manner that does not
generate error messages. The same issue exists when simply using
spamc/spamd.
My ~/.spamassassin directory looks like this:
drwxrwsr-x 2 jeff defang 512 Jan 28 16:29 .
drwxr-sr-x 10 jeff staff 1024 Jan 27 19:06 ..
-rw------- 1 defang defang 17067 Jan 28 16:29 bayes_journal
-rw-rw---- 1 jeff defang 90112 Jan 28 16:29 bayes_seen
-rw-rw---- 1 jeff defang 1302528 Jan 28 16:29 bayes_toks
to allow the milter to work cleanly, but because of the journal file
permissions I can't use sa-learn properly. My goal is to have
SpamAssassin (when running in the milter context) never attempt to
update the Bayes database, but still use it when checking messages.
It's pretty clear that letting the milter have write access to each
user's database is incompatible with allowing each user to do training
with sa-learn, but I am having difficulty tracking down all of the
places that want to update the Bayes database even when
bayes_auto_expire and bayes_auto_learn are both 0. If anyone has
solved this problem I would love to know how it was done.
:: Jeff Makey
[EMAIL PROTECTED]