I'm really confused and it's caused me some serious mail pile-ups today.  I
_thought_ I had Bayes configured so it's only manually trained by me so
locking shouldn't be a problem.  HOWEVER, I keep seeing the modification
dates change for my Bayes database files and lockfiles come and go.  The
biggest problem came when I ended up with a deadlock and I had over 1800
messages backed up when I got back from a meeting.  I'm still getting these
e-mails out because of the normal amount of inbound mail traffic we
experience.

I'm using MailScanner version 4.30.3 and SpamAssassin 2.63.  Here are my
pertinent Bayes entries from local.cf (which is a link to
MailScanner/etc/spam.assassin.prefs.conf for MailScanner):

bayes_path                 /var/spool/spamassassin/bayes
bayes_file_mode            0600
bayes_ignore_header X-Dickinson-MailScanner
bayes_ignore_header X-Dickinson-MailScanner-SpamCheck
bayes_ignore_header X-Dickinson-MailScanner-SpamScore
bayes_ignore_header X-Dickinson-MailScanner-Information
bayes_auto_learn 0

The only thing I changed recently happened yesterday.  I noticed that when
I ran sa-learn, I was creating new Bayes files in /.spamassassin and, since
I had commented the 'bayes_path' entry out, I removed the comment and it
seemed to work fine as long as I told sa-learn where the config file lived.

What am I missing that it's still creating lockfiles?  Here's what
/var/spool/spamassassin looked like a few minutes ago:

-rw-------   1 root     system         26 May 11 16:03 bayes.lock
-rw-------   1 root     system      13899 May 11 16:04 bayes_journal
-rw-------   1 root     system     579653 May 11 16:03 bayes_journal.old
-rw-r--r--   1 root     system   10223616 May 11 15:58 bayes_seen
-rw-------   1 root     system    4849664 May 11 16:04 bayes_toks

Now that lockfile's gone and all looks normal again.  But you can see
clearly that these files ARE being updated on the fly in spite of
"bayes_auto_learn" being turned off.

Any help would be greatly appreciated.  We're at crunch time here and
students are e-mailing papers and the such like and delays like I'm seeing
now are a killer.  Thanks in advance.

Don Newcomer
Senior Manager, Systems
Infrastructure Systems Department
Library and Information Services
Dickinson College
P.O. Box 1773
Carlisle, PA  17013
717-245-1256 (Voice)
717-245-1690 (FAX)
[EMAIL PROTECTED]

Reply via email to