1BF_COMPACT(1) Bogofilter Reference Manual BF_COMPACT(1)
2
3
4
6 bf_compact - shell script to compact a bogofilter directory
7
9 bf_compact bogofilter_directory [wordlist_name...]
10
12 bf_compact creates a more compact bogofilter working directory with a
13 dump/load cycle and renames the previous bogofilter_directory to
14 bogofilter_directory.old.
15
16 Note: bf_compact cannot be used to process the current working
17 directory, ".", because that cannot be renamed.
18
19 If no wordlist_file arguments are given, then bf_compact will use the
20 configured set of wordlists, if the given bogofilter_directory is the
21 same as the configured, or use all *.db files if it is a different
22 directory.
23
25 The script exits with status code 0 if everything went well, and
26 nonzero if it encountered trouble.
27
29 This script will delete bogofilter_directory.old and all of its
30 contents!
31
32 This script expects a SUSv2 compliant shell. Solaris systems should
33 have the SUNWxcu4 package installed (when bogofilter is configured) so
34 that /usr/xpg4/bin/sh can be used.
35
37 Matthias Andree
38
39
40
41Bogofilter 10/22/2012 BF_COMPACT(1)