BOGOTUNE(1)
π bogotune(1) β Bogofilter Reference Manual energy π
okay so bestie, this is bogotune(1), straight out of the Bogofilter Reference Manual β¨ itβs the little tuning goblin that tries to find optimum parameter settings for bogofilter, and honestly? iconic.
πΈ NAME πΈ
bogotune β find optimum parameter settings for bogofilter π
β¨ SYNOPSIS β¨
bogotune [-v] [-c config] [-C] [-d dir] [-D] [-r value] [-T value]
-n okfile [[-n] okfile [...]] -s spamfile [[-s] spamfile [...]]
[-M file]
bogotune [-h]
π¦ DESCRIPTION π¦
okay so hereβs the tea: bogotune tries to find optimum parameter settings for bogofilter. It needs at least one set each of spam and non-spam messages. The production wordlist is normally used, but it can be directed to read a different wordlist, or to build its own from half the supplied messages. π«Ά
In order to produce useful results, bogotune has minimum message count requirements. The wordlist it uses must have at least 2,000 spam and 2,000 non-spam in it, and the message files must contain at least 500 spam and 500 non-spam messages. Also, the ratio of spam to non-spam should be in the range 0.2 to 5. If you direct bogotune to build its own wordlist, it will use the half the input or 2000 messages (whichever is larger) for the wordlist. no cap, the numbers matter.
Message files may be in mbox, maildir, or MH folder or any combination. Msg-count files can also be used, but not mixed with other formats. π
π OPTIONS π
-hβ prints the help message and exits. π«Ά-vβ increases the verbosity level. Level 1 displays the scan output in detail instead of using a progress meter. π-cfilename β tellsbogofilterto read the config file named.-Cβ preventsbogotunefrom reading a configuration file.-ddir β specifies the directory for the database. See the ENVIRONMENT section for other directory setting options. ποΈ-Dβ tellsbogotuneto build a wordlist in memory using the input messages. The messages are read and divided into two groups. The first group is used to build a wordlist (in ram) and the second is used for tuning. To meet the minimum requirements of 2000 messages in the wordlist and 500 messages for testing, when-Dis used, there must be 2500 non-spam and 2500 spam in the input files. If there are enough messages (more than 4000), they will be split evenly between wordlist and testing. Otherwise, they will be split proportionately. π§ β¨-nβ tellsbogotunethat the following argument is a file (or folder) containing non-spam. Since version 1.0.3, multiple arguments to the-noption can be given. All non-option arguments until the next-soption will be treated as though they had been preceded by-n. π-sβ tellsbogotunethat the following argument is a file (or folder) containing spam. It can be repeated as often as necessary. Since version 1.0.3, multiple arguments to the-scan be given. All non-option arguments until the next-noption will be treated as though they had been preceded by-s. π₯-rvalue β tellsbogotuneto use the following parameter as the robx value.-Tvalue β tellsbogotuneto use the following parameter as fp target value.-Mfile β tellsbogotuneto convert the file to message count format. This format provides a sorted list of each message's unique tokens, along with their ham and spam counts. Sorting hides the sense of the messages quite effectively, thus protecting privacy. The message-count format allowsbogotuneandbogofilterto score messages quickly without needing the original token database. π΅οΈββοΈπ«
π ENVIRONMENT π
Bogofilter uses a database directory, which can be set in the config file. If not set there, bogofilter will use the value of BOGOFILTER_DIR. Both can be overridden by the -ddir option. If none of that is available, bogofilter will use directory $HOME/.bogofilter. π‘
π BUGS π
ngl, bogotune is not particularly robust when presented with garbage input. π garbage in, chaos out, bestie.
π«Ά AUTHOR π«Ά
The bogofilter developer team.
For updates, see the bogofilter project page[1]. πΈ
π SEE ALSO π
bogofilter(1), bogolexer(1), bogoupgrade(1), bogoutil(1) π
β NOTES β
- the bogofilter project page
http://bogofilter.sourceforge.net/
okay bye bestie π β source/version is Bogofilter, the date is 06/29/2013, and this iconic page is BOGOTUNE(1) β¨π
π¦ where this page comes from
- opensuse-leap 16.0: bogofilter-sqlite3 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: bogofilter-sqlite3 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: bogofilter-sqlite3 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: bogofilter-sqlite3 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms