1 cd Maildir
2 maildir2mbox.py .Spam ~/Spam.txt
3 maildir2mbox.py .Spam.Not-Spam ~/Not-Spam.txt
4 maildir2mbox.py .Spam.Missed-Spam ~/Missed-Spam.txt
5
6 cd ~
7 bogofilter -s -v < Spam.txt
8 bogofilter -s -v < Missed-Spam.txt
9 bogofilter -n -v < Not-Spam.txt
10
11
12 bogoutil -a 365 -m ~/.bogofilter/wordlist.db
13
14 bogoutil -c 2 -m ~/.bogofilter/wordlist.db
15
16 sqlite3 ~/.bogofilter/wordlist.db 'VACUUM;'
CategoryCheatSheet
SamatsWiki: CheatSheet/Bogofilter (last edited 2016-01-27 07:59:35 by SamatJain)