specification of wordlist directory

Gyepi SAM gyepi at praxis-sw.com
Tue Dec 24 16:24:59 CET 2002


On Tue, Dec 24, 2002 at 08:47:58AM -0500, David Relson wrote:
> For updating the system wordlists, the sys admin could (should) give 
> bogofilter exactly one directory.  "bogofilter -d directory -C" (which 
> doesn't read a config file) would do the task or "bogofilter -c configfile" 
> (which reads only the named config file) would also work.
> 
> Conclusion:  when writing wordlists use the last path encountered during 
> bogofilter startup.

This is all very complicated. How about a simpler idea:
bogofilter uses a single primary directory for its wordlists. This is what
happens now, except we don't call it that. Additional, secondary, directories
can be added, either in a config file or the commandline. The key is that
secondary directories are always considered readonly. All write operations
are performed to the primary databases. This makes sense in the context of
shared system-wide databases: in order to update the system databases, the sysadmin must specify their directory as the primary. For everyone else, the system directories are  secondary.

-Gyepi




More information about the bogofilter-dev mailing list