Note: bf_compact cannot be used to process the current working directory, ".", because of directory renaming issues.
If no wordlist_file arguments are given, then bf_compact will use the configured set of wordlists, if the given bogofilter_directory is the same as the configured, or use all *.db files if it is a different directory.
This script will delete bogofilter_directory.old and all of its contents!
This script is meant for use with Berkeley DB based bogofilter versions.
This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so that /usr/xpg4/bin/sh can be used.