summaryrefslogtreecommitdiff
path: root/mail/bogofilter
AgeCommit message (Collapse)AuthorFilesLines
2004-05-23Take maintainership. Update to bogofilter-0.17.5.snj2-8/+8
Changes: * Change default parameters to the results of Greg's 300k ham and 300k spam bogotune run: robs robx min_dev spam_co old 0.010000 0.415000 0.100000 0.950000 new 0.017800 0.520000 0.375000 0.990000 * Fix check for PGP signatures. * Ignore data portion of PGP signatures. * Use "mime:" (rather than "head:") to tag mime part headers. * Fix "Can't find '.MSG_COUNT'" problem in bogotune. * Fix defect that continues decoding base64/qp after invalid chars. * Warn if user specified config file doesn't exist. * Fix tagging of IPAddrs in header lines. * Fixed minor bogotune problems related to building wordlists. * Exempt tokens .MSG_COUNT and .ROBX from maintenance operations. * Remove unused 'active' and 'weight' attributes of wordlists. * If message uses CRLF, put CRLF after added header lines. * Removed DEPRECATED CODE. * Correct SIGSEGV causes by missing environment variables. * Miscellaneous Portability fixes * Documentation cleanups.
2004-04-10USE_DB185 requires an argument, YESheas1-2/+2
2004-03-14Fix build problem after db4's buildlink3.mk change. (define USE_DB185taca1-2/+2
instead of set BUILDLINK_TRANSFORM directly)
2004-02-09Update to bogofilter-0.16.4, bl3ify, tidy up DESCR. Okayed by jmmv and wiz.snj5-27/+29
Changes since 0.15.7: * Perl 5.6 fixes in bogoupgrade * Install bogotune and bogotune man page * The -q and -F flags (both unused) were removed * Alpha/SH(3?) portability fixes * Gobs and gobs of bugfixes * The Graham and Robinson algorithms were removed * Support for old style (separate good/bad) wordlists was removed * Support for ignore lists was removed
2004-01-15Wrong revision bump. Thank to Takahiro Kambe for pointing this out.manu1-2/+3
2004-01-14Fix build bug with cc -g, patch submitted by john heasley.manu3-3/+66
2003-12-24See CHANGES-0.15 for the full (232 line) list of changes...jonb2-5/+5
Primarily portability and minor bug fixes, a few new minor features, better HTML parsing, nothing dramatic. Note to self: tell authors about how their config script in 0.15.11 is badly broken WRT needing and figuring out -ldb4 instead of -ldb before the next upgrade of this package is painful. 0.15.7 is the current stable version, so this may not be an issue at all.
2003-09-30Add missing "/" to the URL section to make pkglint happyxtraeme1-2/+2
2003-09-30Updated to 0.14.5.4.xtraeme4-11/+47
While updating, make bogofilter use the bsd.pkg.install.mk framework to install the configuration file into PKG_SYSCONFDIR. Patch provided by Soren Jacobsen in PR pkg/22983. Changes: Changes: 0.14.5.4 * _Really_ fix defective printing in 'bogofilter -Q' output. 0.14.5.3 * Fix parser errors that can cause: 1. Incorrect processing of html comments. 2. "fatal flex scanner internal error--end of buffer missed", which kills bogofilter. * Fix defective printing in 'bogofilter -Q' output. * Compiles with TDB again. 0.14.5.2 * bogominitrain.pl - removed email 'cruft' and revised format of verbose output. 0.14.5.1 * Fixed parameter type error in dbh_print_names() that causes segfault. * Enhanced verbose output of bogominitrain.pl * Documented '-T' option in man page. * Fixed parsing error that treated "^From " in encoded text as a message separator. * Revised format for '-T'. * Fixed defect in bogominitrain.pl's norepetition mode. 0.14.5 * Updated bogominitrain.pl to version 1.3. * Corrected parsing error (in html code) that caused bogofilter to miss message separators. * Added '-T' as terse mode (with fixed formatting). * Revised processing of From and empty lines so that parsing works correctly with both flex-2.5.4 and flex-2.5.31. 0.14.4 * Revised database API so that there are 3 distinct layers (program, datastore, and database) with a clean interface between them. * Correct exitcodes in bogoutil by using EX_ERROR. * Fixed token registration bug in 0.14.x versions. * Fixed seg fault caused by database lock contention. 0.14.3 * Fixed critical locking bug introduced into bogofilter 0.14.0 with the combined-wordlist code: when working with separate wordlists, bogofilter would lock only the first one opened, rather than all. * Documentation updates. * %g formatting is now supported by bogofilter's formatting functions. * Merged trio 1.10 (http://ctrio.sourceforge.net/) to support compilation on ancient systems (Solaris 2.5) that do not have [v]snprintf functions. Trio is Copyright (C) 1998-2000 Bjorn Reese and Daniel Stenberg. * Various documentation updates, including the FAQ. * The test suite was adjusted for older grep variants (Solaris 2.5) that don't cope with long lines. * Print database version in print_version(). * Postfix integration instructions have been upgraded. * Debug output for wordlists and databases was enhanced.
2003-08-05upgrade to 0.14.2. note that upgrade from 0.13 needs invoation of "bogoupgrade"itojun2-5/+5
================= BOGOFILTER NEWS ================= $Id: CHANGES-0.14,v 1.15 2003/08/03 00:47:28 relson Exp $ 0.14.202 2003-08-02 * Replaced use of memcpy() by memmove() in an input routine. The overlapping copy migh cause data corruption on some systems. * Fixed "make check" failures for bogoutil introduced with the "combined wordlist" feature in 0.14.0. There has been a buffer overflow. All users of bogofilter with combined wordlist prior to 0.14.2 are advised to upgrade. * Fixed bogus "t.valgrind" test FAILures. * Fixed uninitialized data in db_get_dbvalue(), for split word lists. * New file, contrib/vm-bogofilter.el, provides an interface between the VM mail reader and bogofilter." * Revised lexer_v3.l for compatibility with flex-2.5.31 * Break up long line in regression test input for Solaris 2.5 compatibility. 0.14.1.1 2003-08-01 * Fixed check for adding spam_subject_tag to Subject: line. * Updated French version of FAQ. 2003-07-31 * Correct problem with t.degen regression test. 0.14.1 2003-07-31 * Updated English version of FAQ. 2003-07-29 * Initial release of token degeneration code. 2003-07-25 * Revised lexer pattern to better recognize encoded tokens. 2003-07-24 * Implemented named exitcodes, with Unsure having its own value (2) and changing the value for error from 2 to 3. 0.14.0.1 2003-07-23 * Fix problem with encoded text. * Fix handling of absolute paths. * Fix defect in base64 decoding that can cause segfaults. * Bogoutil now complains before exiting when it can't open a file. * Updated bogominitrain.pl to work with combined wordlists. 0.14.0 2003-07-22 * Updated contrib/bogominitrain.pl prints more info and can save messages used in training. * Miscellaneous documentation updates. 2003-07-21 * Decode encoded text in header lines. 2003-07-19 * Bogofilter and bogoutil detect whether one or two wordlists are in BOGOFILTER_DIR and use the appropriate wordlist mode (combined or separate). * Bogofilter's -V output now includes algorithm and database info. 2003-07-18 * Default wordlist mode is single, combined wordlist. File wordlist.db contains all spam and ham tokens. 2003-07-17 * Added tdb (trivial database) support. 2003-07-16 * Initial release of code allowing bogofilter to use a single, combined BerkeleyDB database for storing both ham and spam tokens. The file is named wordlist.db.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13add REPLACE_PERL for bogoupgradeitojun1-1/+3
(bogoupgrade will be used by users of very old bogofilter, so no need to bother to bump PKGREVISION)
2003-07-12reset PKGREVISIONitojun1-2/+1
2003-07-12upgrade to 0.13.7.2.itojun2-5/+5
0.13.7.2 2003-07-02 * Fixed loop in yyinput() caused by unexpected EOF. 0.13.7.1 2003-06-26 * Update bogotune to version 0.3 * Added '-k size' option to bogofilter and bogoutil for setting BerkeleyDB's cache size. 2003-06-25 * For bogotune change processing of '-t' switch from pass 1 to pass 2 so that it supercedes the config file. * Man pages now use '\ ' when a non-breaking space is needed, instead of 0xA0. 2003-06-24 * '-Q' processing no longer requires that spamlist.db be present. 0.13.7 2003-06-20 * Replaced tuning/tuning.sh with tuning/bogotune (and related files). 0.13.6.3 2003-06-18 * Minor code rewrites to speed up processing messages, mboxes, and msg-count files. In particular, tuning/tuning.sh runs are approx 47% faster than before. * Fixed several errors in tuning/tuning.sh and reformatted "Top 10 Results" output. * Minor changes to bogoutil to support bogotune script. * Added newlines to correct usage messages. 0.13.6.2 2003-06-05 * Don't allow square brackets in tokens. Do allow dollar signs in tokens in msg-count files. * Bogolexer now discards first 'From' token to match scoring behavior of bogofilter. 0.13.6.1 2003-06-05 * Updated file tuning/README and script tuning/tuning.sh. 0.13.6 2003-06-04 * Fix check for "^From " lines to work properly during base64 decoding. * End html comment processing when a message header is found. * Improve README for the tuning scripts and simplify them. 0.13.5 2003-06-03 * Allow terminal exclamation points on tokens. * Updated contrib/mime.get.rfc822 2003-06-02 * Fixed bogofilter's non-use of message counts in msg-count files. * Diagnose invalid values of robx. * Modified rstats_print_histogram() so it doesn't print 'nan's. * Modified t.frame to find version of grep on Solaris so t.bulkmode can run successfully. 0.13.4.1 2003-05-31 * Modified t.parsing test so it works with OSX's default file system. 0.13.4 2003-05-30 * Changed default value of ROBS from 0.001 to 0.01 * Fixed options '-M' (mailbox mode) and '-p' (passthrough mode) so they work properly together. * Minor cleanups in bogofilter.cf.example * Added db-3.2 and db-3.1 to list for AC_CHECK_DB in configure.ac 0.13.3 2003-05-28 * Minor code tweaks to quiet gcc-3.3 warnings. 2003-05-26 * Added doc/programmer/README.osx to distribution. * Corrected FAQ's procmail recipe for training with SpamAssassin. 2003-05-24 * Added -V (version) option to bogolexer. * Tweaked long line check used to prevent scanner buffer overflow. 0.13.2.1 2003-05-24 * In bulkmode, output filenames to stdout. * Further fixes for static-build system. 0.13.2 2003-05-24 * Autoconfiguration of BerkeleyDB library has been improved. * Build procedure for statically linked binaries has been improved. * Fixed defect in replace_nonascii_characters that was superseding ignore_case option. * Portability fix for efence usage in t.frame. * Added static-build to solve glibc version problem. 0.13.1 2003-05-23 * Modified "make rpm" to also build statically linked binaries. They're packaged in bogofilter-static-x.y.z-1.i586.rpm * Fixed bogofilter.spec.in to include files CHANGES-0.13 and RELEASE.NOTES-0.13 which had been left out. * tests/t.frame portability fix for non-Linux compatibility. 0.13.0 2003-05-21 * Added file RELEASE.NOTES-0.13. Read it! * Changed parsing defaults to: -PI ignore_case (default is disabled) -Ph header_line_markup (default is enabled) -Pt tokenize_html_tags (default is enabled) * Recognize a line of whitespace as ending the message header. * contrib/randomtrain and contrib/scramble can now process both mbox and maildir formats. * Added perl script contrib/mime.get.rfc822 to extract forwarded messages from with a message. * Added basic support for emacs RMAIL mailboxes. * Removed incomplete RMAIL/Babyl-5 support. * Registration code modified to count unique tokens for each message and display the total of the counts. * Added 'bogo-what?' to FAQ. 0.12.3 2003-05-10 * Modified bulk mode code to allow registering maildirs. * Added options to return tokens from inside HTML tags. Switch '-Ht' and option "tokenize_html_tags" turn it on. * Bogofilter's '-e' switch can now be used without '-p'. * Added doc/integrating-with-postfix. * Added bogofilter-faq-fr.html, a French translation of the FAQ. * Revise description of verbose output in FAQ. * Update man page documentation of bogofilter's switches. * Added basic memory accounting and debug capability. * Fixed memory leak in rstats.c * Fixed defect in handling of folded spam header lines. * Modified parsing so that yyredo() and yy_use_redo_text() are no longer needed. 0.12.2 2003-04-30 * Corrected bulkmode problem processing messages without "^From " lines. * Corrected alignment of wordprop_t which caused bus error on risc. * Added directory to 'Error creating directory' message. 0.12.1 2003-04-25 * Corrected bad BOGOFILTER_DIR value in t.bulkmode * Subdirectories contrib and tuning now install from rpm to /usr/share/bogofilter. 0.12.0 2003-04-24 * Corrected some errors in rpm specfile. 2003-04-23 * Added 'tuning' directory with scripts for tuning bogofilter. (cf. bogofilter-tuning.HOWTO) 2003-04-21 * Added '-M' to allow classification of multiple messages in mbox formatted files. * New option '-Q' (query/display config) replaces '-qv'. * Grouped options into logical groups for help message and man page. Revised option descriptions. 2003-04-19 * Added bogofilter-tuning.HOWTO as replacement for README.Robinson 2003-04-18 * Added classification support for msg-count formatted files. * Add bogolex.sh for creating msg-count formatted email file. 2003-04-17 * Added bulk mode procesing for Maildirs. '-b' reads filenames from stdin. '-B' gets filenames from the command line. 2003-04-16 * Miscellaneous refactoring in main.c 0.11.2 - stable version 2003-04-13 * Added 'terse' option to bogofilter.cf for selecting format of X-Bogosity line. 2003-04-11 * Use frexp() to retain maximum precision of floating point results. 0.11.1.9 2003-04-10 * Reformat histogram output (from "-vv") to fit in 80 columns. * Added sample configuration for maildrop. 2003-04-09 * Added protections against negative token counts to bogoutil.c and database_db.c * Additional portability changes made to the regression tests. * Enhanced '-m' option allows specifying robs value. 0.11.1.8 2003-04-07 * Include 'strict_check' in '-qv' output. * Correct outdated acinclude.m4, as it causes the configure script to be invalid. * Revised UPGRADE document. * Added contrib/bogotrain.sh 0.11.1.7 2003-04-07 * Change bogoutil's '-p' option to require a database. * Fix OS X segfault caused by using DB handle after closing database. 2003-04-05 * Improve bogoutil's reporting of a bad directory or filename. * Simplify configure check for BerkeleyDB. * Extend configure's compiler checks for AIX. 0.11.1.6 2003-04-01 * Changed default value of 'strict_check' to 'no' (disabled). 2003-03-30 * Added config file option 'strict_check' for processing html comments. Enabled means to use "<!--" and "-->" to delimit comments. Disabled uses "<!" and ">". 0.11.1.5 2003-03-28 * Bogofilter now frees _all_ memory that it allocates. * FAQ reorganized and info added on asian spam, the format of verbose output, and using SpamAssassin to train bogofilter. * Fixed processing of '-o' option. 0.11.1.4 2003-03-25 * Cleaned up help messages and added version info. * Expanded bogofilter-faq.html * Fixed precedence for directory specifications. * Fixed processing of folded X-Bogosity line. * Fixed processing of spam_subject_tag.
2003-06-10Bump PKGREVISION because of db4 shlib major bump.wiz1-1/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-14/+14
2003-04-03Set USE_BUILDLINK2; remove bogus DEPENDS line; use GNU_CONFIGURE.wiz1-6/+4
2003-04-03Bayesian spam filter written in Cmanu4-0/+54