Mailfilter ChangeLog -=-=-=-=-=-=-=-=-=-= Wed Oct 10 18:38:37 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added option to define a time span in seconds that Mailfilter waits for a server response, after a command was issued Fri Sep 28 17:16:56 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * If maximum line length is exceeded, then Mailfilter prompts which header field caused the deletion * Rearranged some program output (nothing big) Wed Sep 26 22:27:04 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added Russian translation of the rcfile2.example (courtesy Alex A. Puchow) * Updated mailfilterrc man page to reflect changes * Added option to define maximum line lengths of header fields * Changed header parsing slightly, such that program output does not contain unwanted control characters anymore Wed Aug 15 15:10:17 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added negative filter descriptions to man/mailfilterrc.5 * Fixed up FAQ (with add-ons of Til Schubbe) Tue Aug 14 15:28:50 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Fixed a bug in normalisation that threw Mailfilter in an endless loop if subjects ended with more than the two usual white-space characters <CR><LF> * Added some boring debug code to Account.cc Sat Aug 11 21:12:56 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Field-names in e-mail headers may now start with lower case letters, ie parsing should now be fully RFC822 compliant * Normalisation handles multiple white-space characters ok now Mon Jul 30 14:48:51 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Headers are parsed now up to length() - 3 bytes, cause of the closing <CR><CR>.<CR> which we are not interested in Sat Jul 28 18:03:12 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * config.h is only loaded if HAVE_CONFIG_H is specified * Changed mailfilter.spec.in (added translations) * Display message size when size limit is exceeded * Added rm -fr *~ to Makefile.am Wed Jul 18 11:28:34 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Print line number of rcfile in case of an error Tue Jul 10 14:29:06 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Changed source code, so Mailfilter compiles with the new GCC 3.0 * Updated doc/Makefile.am Mon Jul 9 14:04:39 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added sample rcfiles * Added (and modified) Portuguese translations (courtesy Frederic Meunier) * Updated man pages and FAQ to reflect change in verbosity levels Tue Jun 19 11:46:33 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Bug fix: Normalisation works again properly Sun Jun 10 19:19:23 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Fixed a bug that caused normalisation to break on capital-only message tags * Changed verbose levels so that usernames are appended to the current account names (Thanks to Etienne Herlent for the original patch) * Cleaned up documentation a bit (man page, faq) Thu May 31 20:26:52 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Updated spec file * Switched version number to 0.2.0 * Updated documentation (man pages, FAQ, etc.) Wed May 23 20:53:43 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added keyword DEL_DUPLICATES * Created the seperate Header class to store the message header and provide additional functionality, e.g. to delete duplicate messages later on Wed May 16 20:02:38 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Passwords don't show up in log files anymore Tue May 8 11:35:53 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added Italian translations (see AUTHORS file) Sun May 6 09:37:57 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Code and directory strucutre clean-ups Sun Apr 29 11:05:34 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Mailfilter now stores multiple lines if the "To:" or "Cc:", etc. fields are seperated by new-lines by diverting them into new-lines * Minor documentation updates (version numbers, typos and wrong references) Wed Apr 25 17:23:10 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Created ABOUT-NLS in the top level directory of Mailfilter, added the gettext issues to the TODO list * Removed BUGS file Mon Apr 23 20:37:09 CEST 2001 Andreas Bauer <baueran@users.sourceforge.net> * Replaced the algorithm for negative filters * Renamed checkForSpam() into checkFilter() and added checkNegFilter() Tue Feb 27 22:43:28 GMT+1 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added French translations, thanks to Etienne (see AUTHORS file) * Added more files to po/POTFILES.in so all texts get translated properly Mon Feb 26 10:54:00 GMT+1 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added basic support for GNU gettext to achieve internationalisation of Mailfilter, yet the translation has to be done though. What's there right now is only the configuration and set-up * Added section on negative message filters to mailfilterex(5) man page Sun Feb 25 16:14:32 GMT+1 2001 Andreas Bauer <baueran@users.sourceforge.net> * Fixed up negative filters so they can be applied to any kind of email message tag Sat Feb 24 15:43:00 GMT+1 2001 Andreas Bauer <baueran@users.sourceforge.net> * <> - filters are now case-sensitive as all the other filters Fri Feb 23 13:32:03 GMT+1 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added keyword DENY<> for negative filters * Fixed up program configuration (spec files, etc.) Tue Jan 30 17:53:04 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Fixed up spelling mistakes (shame on me) and minor grammatical glitches Fri Jan 26 10:50:17 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Fixed up mailfilter.cc: replaced exit() with return and changed help and version info * Fixed up documentation and man pages Thu Jan 25 17:08:58 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Added mailfilterex(5) and mailfilterrc(5) man pages * Improved creation of error reports when malformed or deprecated keywords are found * Fixed a bug with the old error handling that didn't show the rcfile name correctly * Fixed up specs file for RPMs, INSTALL was added to it Wed Jan 24 22:43:05 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Added proper man page mailfilter(1) and kicked out help2man instead * All man pages go in man/ from now on Sun Jan 21 14:39:10 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Normalised subjects are checked after the 'pure' subject string has passed all filters * Added keyword REG_NEWLINE and replaced ICASE with REG_ICASE * Added keywords for RE testing: TEST and SHOW_HEADERS Thu Jan 18 18:49:40 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Added support for extended Regular Expressions (keyword REG_TYPE) * Added normalisation of Subject lines (keyword NORMAL) Sun Jan 14 17:40:25 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Added regfree() in Preferences.cc to clean up memory taken from all the RE stuff * Changed pre-compilation of REs from storing results in a temporary buffer to writing it directly into the according data structures Fri Jan 12 20:35:55 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Added error message when the mail server connection could be established but the server does not respond to any commands of the client Sun Jan 7 14:47:11 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Improved logging capabilities. Log file only gets opened once, instead of closing and opening it all the time. Also fixed up some error messages. * Other bug fixes, mainly to handle situations in which the DELE command failed. Fri Jan 5 20:57:58 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * Rewrote large parts of PopAccount.cc to improve error handling. Added receiveStatus() to have a very fast function for receiving server status messages. The good thing is it doesn't need to throw exceptions either. * Fixed obvious linkage problem with standard C header files Wed Jan 3 19:09:47 GMT+1 2001 Andreas Bauer <baueran@in.tum.de> * All Regular Expressions are now only compiled once to speed things up drastically * All messages get checked immediately instead of storing them first. This is to avoid running out of heap memory when huge ammounts of mail arrive * Added verbosity level 6 and made filters show up when messages get deleted Sat Dec 30 14:25:44 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Added different levels of verbosity (0 - 5) Thu Dec 28 14:33:25 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Added MAXSIZE_ALLOW and MAXSIZE_DENY keywords. Fixed bugs for the frehsly implemented ALLOW keyword. Wed Dec 27 22:57:34 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Added keyword ALLOW to define messages that should always pass the filter Tue Dec 26 18:01:05 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Added command RSET to the delete() function in PopAccount.cc to avoid unnecessary confusion in the mailbox when errors occur during delete Sun Dec 24 13:19:40 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Removed a potential buffer overflow problem in PopAccount.cc. cmd[32] was either removed where possible or increased to cmd[64] where necessary. (Thanks to Etienne Herlent for pointing it out.) Sat Dec 23 10:27:48 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Added keywords DENY_CASE and DENY_NOCASE to make filters more specific and to allow better filtering when having ICASE set to 'no' Tue Dec 19 20:02:06 GMT-5 2000 Matthew R. MacIntyre <matt@matty.dyndns.org> * src/Preferences.cc: added check for malformed keywords: causes an error message to be displayed to stderr and the program to be exited in error. Tue Dec 19 16:25:06 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * It seems Mailfilter was always reading at least one byte more from any input streams than allowed. These few extra bytes are now being caught and stored and hopefully new versions of glibc like Mailfilter a lot more now. * Mailfilter now allows ',' in the passwords and complains if the password that was sent to the server was incorrect. Wed Dec 13 15:31:17 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Found and removed a silly bug that made Mailfilter delete messages several times if the e-mails apply to the filters several times. Thanks Bob for finding this behaviour in the program! Sun Dec 10 13:15:56 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Made Mailfilter compatible with mail servers that use more than a single byte stream to send out their response - in particular IMail used on a Windows NT box. * Clean up of some objects in PopAccount.cc right after use instead of calling one big clean-up procedure. Does it fix memory problems? Fri Dec 8 11:51:21 GMT-5 2000 Matthew R. MacIntyre <matt@matty.dyndns.org> * src\Preferences.cc, src\Preferences.hh, src\PopAccount.cc: Applied patch created by Ivan Vitjuk to allow case-insensitive regular expression matching in the .mailfilterrc file. Tue Dec 5 13:20:56 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Mailfilter now properly recognizes the end of an e-mail header with isHeaderEnd() - the closing CRLF was not read before * Again, rewrote major parts of the I/O routines after discovering another serious memory leak in them * Applied a patch to Mailfilter which fixes a problem reading the program's preferences. Thanks Ivan! * Fixed a bug that Mailfilter would delete messages that exceeded the MAXSIZE limit, but wouldn't report it in the log nor on the screen Fri Nov 24 13:32:16 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Fixed a _major_ problem with I/O. Mailfilter doesn't break anymore under heavy network traffic mainly due to a complete rewrite of the part dealing with nonblocking access * I/O is much faster now * Parsing of messages fixed. The last line of the e-mail header used to lose its last few characters * Changed Mailfilter output slightly * Fixed problem with MAXSIZE. Messages got deleted when MAXSIZE was not set * Fixed lnsl issue. Mailfilter now compiles and runs under Solaris and Irix again and according to Matt also on FreeBSD * Changed from LICENSE to COPYING - more GNU compliant * Changed INSTALL and FAQ Tue Nov 21 21:10:23 GMT+1 2000 Matthew R. MacIntyre <mrmacint@chat.carleton.ca> * Fixed issue with getopt. It is now always compiled in, no matter whether it's preinstalled or not; works for FreeBSD * Included lsocket and lnsl in configure.in; somehow lnsl is still broken though Tue Nov 21 14:00:38 GMT+1 2000 Andreas Bauer <baueran@in.tum.de> * Created PopAccount.cc, PopAccount.hh. Restructured source code to a more object oriented layout. PopAccount is now derived from a virtual class Account that takes care of storing headers as this should be the same for all kind of accounts, protocols, etc. * Fixed a small problem with the --mailfilterrc switch (thanks to Tobias Ebner for reporting this problem) Sun Nov 19 15:31:23 GMT+1 2000 Matthew R. MacIntyre <mrmacint@chat.carleton.ca> * Improved help and version info * Improved error handling * Introduced automake to Mailfilter (does not work for Solaris yet)