Bug#293207: bogofilter: Any fix found?
Matthias Andree
matthias.andree at gmx.de
Sun Mar 6 03:07:04 CET 2005
"Dann Daggett" <dann at exposim.com> writes:
> <snip>
>> My environment is postfix+procmail+bogofilter.
>> My wordlist is in /var/spool/bogofilter and it is shared by all
> users.
> <snip>
>> Here're the permissions for the bogofilter directory and its files:
>>
>> drwxr-x--x 3 root root 4096 Mar 4 18:27
> /var/spool/bogofilter//
> <snip>
>> -rw------- 1 root mail 1048564 Mar 4 18:27
> /var/spool/bogofilter/log.0000000216
> <snip>
>
> Thank you David.
>
> Your permissions would seem to indicate only a process running as root
> would be able to open them (same as mine). Since your wordlist is
> shared by all users that would make sense that the process runs as the
> same owner each time (be that root or not) and that you would not
> encounter the same problem I am.
In your case, _someone_ else than the user is running bogofilter.
> Since I have different wordlists for each user, the process runs as
> each user, and therefore it doesn't have permission to access the
> files. So I think I need a way to tell whatever process is creating
> the log files (be it bogofilter, DB, or logrotate)
The process is bogofilter or bogoutil. Check who calls your processes.
--
Matthias Andree
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter
More information about the Bogofilter
mailing list