* This note was written on September 7, 2003
- Keep some (~50) spams in a separate folder (eg. ~/Mail/spam)
- Edit your ~/.bogofilter.cf
bogofilter_dir=~/.bogofilter user_config_file=~/.bogofilter.cf db_transaction=no spam_header_name=X-Bogosity spam_subject_tag={BOGOSPAM} unsure_subject_tag={BOGOSPAM} stats_in_header=Yes db_cachesize=32 db_log_autoremove=yes db_lk_max_locks=16384 db_lk_max_objects=16384 timestamp=Yes spamicity_tags = Yes, No, Unsure spamicity_formats = %0.6f, %0.6f, %0.6f header_format = %h: %c, tests=bogofilter, spamicity=%p, version=%v terse_format = %1.1c %f log_header_format = %h: %c, spamicity=%p, version=%v log_update_format = register-%r, %w words, %m messages terse=no block_on_subnets=no charset_default=iso-8859-7 replace_nonascii_characters=N min_dev=0.375 robs=0.0178 robx=0.52 ham_cutoff = 0.00 spam_cutoff = 0.99 ns_esf = 1.000 sp_esf = 1.000 thresh_update=0.01
- bogofilter -Mn < ${MAIL} /* learn what is NOT spam */
- bogofilter -Ms < Mail/spam /* learn what IS spam */
- Add the following four (4) lines to your ~/.procmailrc:
# http://bogofilter.sf.net :0HB: * ? bogofilter -u ${HOME}/Mail/bogofilter