[Mimedefang] cannot write to /var/spool/MIMEDefang_journal

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue May 4 08:14:47 EDT 2004


Am Di, den 04.05.2004 schrieb SRAR Mail Administrator um 00:28:

> May  3 15:11:17 meow mimedefang-multiplexor: Slave 0 stderr: cannot 
> write to /var/spool/MIMEDefang_journal, Bayes db update ignored
> 
> Here is the /var/spool/MIMEDefang directory:

> -rw-rw-rw-    1 defang   defang      71028 Apr 17 23:07 
> MIMEDefang_journal

> I changed MIMEDefang_journal to  -rwxrwxrwx to see if that would make a 
> difference. It didn't.
> 
> Here are my bayes-related entries in 
> /etc/mail/spamassassin/sa-mimedefang.cf:
> auto_learn              1
> bayes_auto_expire                       1
> bayes_path                              /var/spool/MIMEDefang

> Can anyone clue me into what I need to do to fix it?
> 
> TIA,
> 
> -Loren

Pretty obvious misconfiguration. The bayes_path must look like

bayes_path /var/spool/MIMEDefang/bayes

So the journal file would be named bayes_journal. The permissions are
bad too, allowing write for the world. You too miss the other bayes file
due to misconfiguration. If you did nothing but an upgrade of MimeDefang
it must have been broken before too.

$ ls -ld /var/spool/MIMEDefang/
drwxr-x---  3 defang defang 4096  4. Mai 14:09 /var/spool/MIMEDefang/

-rw-------   1 defang defang   21741  4. Mai 13:28 bayes_journal
-rw-------   1 defang defang  692224  4. Mai 13:28 bayes_seen
-rw-------   1 defang defang 6021120  4. Mai 13:28 bayes_toks

That are the files being created having set a proper bayes_path. Those
permissions are valid too.

Btw. I am running that setup on a Fedora box too. And you should update
your kernel to latest .2188 release, because yours has vulnerabilities.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 14:06:32 up 7 days, 12:55, load average: 0.18, 0.27, 0.15 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars



More information about the MIMEDefang mailing list