patch for reading config files
Alexander Wasmuth
alexander at wasmuth.org
Wed Mar 5 19:19:57 CET 2003
David Relson wrote:
> At 09:12 AM 3/5/03, Boris 'pi' Piwinger wrote:
> >David Relson wrote:
> >
> >> Bogofilter-0.11.1 considers it an error when it can't read the system
> >> config file (/etc/bogofilter.cf). After that error, it doesn't try to
> >read
> >> the user config file (~/.bogofilter.cf). This is a defect in the code.
> >
> >I do have a readable /etc/bogofilter.cf. It says:
> >user_config_file=~/.bogofilter.cf
>
> I'll take another look. Evidently I misunderstood what was happening.
>
> Have you tested the patch. I suspect that it fixes the problem even if my
> diagnosis wasn't quite right.
I applied the patch and it apparently solved the problem.
Bogofilter now reads the user config if no /etc/bogofilter.cf is
present. If there's a non default user config (eg. ~/.bogofilter/config)
specified in /etc/bogofilter.cf it works now without a problem, too.
Thanks, Alex
--
Alexander Wasmuth <http://alexander.wasmuth.org/>
More information about the Bogofilter
mailing list