Bug#293207: bogofilter: Any fix found?

Dann Daggett dann at exposim.com
Sat Mar 5 01:39:14 CET 2005


Greetings All,

I am new to this list, having found it while researching a fix to a problem
I'm having with my bogofilter (DB) .log files. I did find a past
conversation
a few weeks ago that indicates what the problem is, but I wasn't able to
find
out how to fix it.

I'll restate the problem based on my findings so far.
It seems that when a new log.000000000 File is created, it is owned by root.
Example:
   -rw-r-----    1 root     root      1048541 Mar  3 11:43 log.0000000002
Yet bogofilter runs as an actual user (dann) as called from my .procmailrc
file
in my /home/dann directory.

At some point it fails with the error:

"Mar  4 15:13:25 ns2 sendmail[30263]: j24NDPfD030260: to=<dann at epxsomi.com>,
 ctladdr=<dann at epxsomi.com> (500/500), delay=00:00:00, xdelay=00:00:00,
 mailer=local, pri=30938, dsn=4.0.0, stat=Deferred: local mailer
 (/usr/bin/procmail) exited with EX_TEMPFAIL"

Simply because it has no permissions to acces the file.
If I manually change the owner to dann then bogofilter begins working again.

I was thinking that perhaps logrotate was doing this via my /etc/cron.daily
but
these log files don't seem to be mentioned anywhere in the logroate config.
Now
I am guessing that bogofilter (or DB?) is calling logrotate programatically.

Can anyone shed some light on how and when these log files get created and
how
I might configure that process to chown them based on the user name?

Any help would be greatly appreciated.

Thank you,
Dann Daggett

_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list