Mailfilter ChangeLog -=-=-=-=-=-=-=-=-=-= Fri May 24 15:06:50 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Updated man pages Sun May 12 17:42:52 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Updated Spanish translations * Readded and modified acconfig.h for users of autoconf 2.13 (and lower numbers). Hope it doesn't break anything... Sat May 11 18:02:50 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Updated TODO, German translations Sun Apr 28 10:00:55 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Updated INSTALL, TODO, THANKS and FAQ Sun Apr 21 14:23:39 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Changed this (overdue) ugly while-condition in SocketConnection once again, to explicitly differ between single- and multi-line responses * The TOP command can now be defined individually in the config.h file Sat Apr 20 16:16:35 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Substantial changes in the SocketConnection::receiveHost() function: changed while-condition, such that mailfilter works with this weird Tiscali POP3 Proxy v1.0 Fri Apr 19 09:28:39 CEST 2002 Andreas Bauer <baueran@in.tum.de> * (Hopefully) Fixed a bug that caused mailfilter to crash upon syntax errors in the rcfile, once the filters have been pre-compiled * Minor modifications in Makefile.am * Added Russian translations Wed Apr 17 20:40:01 CEST 2002 Andreas Bauer <baueran@in.tum.de> * Fixed a bug that would ignore -L and -v switches if LOGFILE or VERBOSE were specified in the rcfile Sun Mar 3 11:40:49 CET 2002 Andreas Bauer <baueran@in.tum.de> * If there's a syntax error in the rcfiles, mailfilter now reports the proper file name and according line number * If rcfile can not be found, then the right error string gets printed now (oops) Sun Feb 24 10:12:08 CET 2002 Andreas Bauer <baueran@in.tum.de> * If verbose = 6 and show_headers = yes headers are logged only once now Thu Feb 21 13:51:06 CET 2002 Andreas Bauer <baueran@in.tum.de> * Catching write errors in SocketConnection.cc now (hopefully) * Runtime errors return program satus -1 now, instead of 0. Oops! * man pages are updates with INCLUDE keyword Wed Feb 20 22:37:14 CET 2002 Andreas Bauer <baueran@in.tum.de> * Added nested rcfiles Tue Feb 19 12:02:29 CET 2002 Andreas Bauer <baueran@in.tum.de> * Improved rcfile parsing, updated version number to 0.3.2 * Added stuff to INSTALL and FAQ * Added doc/supported_servers Sun Feb 17 22:01:47 CET 2002 Andreas Bauer <baueran@in.tum.de> * Mailfilter is showing allow rules in the log files if verbosity level is greater or equal 5 Sat Feb 16 17:32:09 CET 2002 Andreas Bauer <baueran@in.tum.de> * Hopefully fixed the parameter handling in the rcfile, i. e. password and username may consist of only digits from now on Wed Jan 2 15:25:13 GMT 2002 Andreas Bauer <baueran@users.sourceforge.net> * Fixed a type conversion problem in signal handling code * Updated copyright remarks * Minor updates in Makefile.am (no, they don't break the Windows version...) Mon Dec 3 18:58:55 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Fixed Windows bison configuration Sun Dec 2 12:34:30 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Changed Makefile dependencies in src/ * Fixed up spec.in file Tue Nov 27 18:48:03 CET 2001 Andreas Bauer <baueran@users.sourceforge.net> * Updated FAQ today, i. e. added Brian Hall's tunnel script to it * Added Carlos Valdivia Yagüe Spanish translation * Added some Italian translation additions by Matteo Merli Wed Nov 21 16:08:01 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Rcfile parser "understands" tabs now, too Mon Nov 19 20:10:58 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added proper rcfile scanner + parser (rcfile.yy, rcfile.ll) * Adjusted doc/win_* for Cygwin/Windows to use the new functionality Wed Nov 14 17:03:03 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Fixed a bug that caused Mailfilter to swallow a newline, in case of empty subject strings (bad) Sat Nov 10 10:08:58 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Extended po/README.Developer so people can keep the translations up to date * Read() call in SocketConnection.cc only adds a null terminator on each line if necessary, not after _every_ line * Added more debug code to RFC822.cc to see what's happening with RE compilation Thu Nov 8 12:03:05 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Added SIGALRM signal handling to SocketConnection.cc * Added SIGINT signal handling to mailfilter.cc Wed Nov 7 13:45:10 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Removed additional null-terminator in RFC822.cc normalise() Sun Nov 4 15:59:25 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Changed a couple of function signatures to return and take const values Sat Nov 3 23:05:58 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Changed parsing of e-mail headers in RFC822.cc and rewrote Header.* pretty much totally Fri Nov 2 17:57:35 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Fixed an error that caused wrong program output in the mailfilter logs Wed Oct 31 13:07:08 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Some documentation updates * Minor code clean-ups * Fixed broken error handling, now you get a nifty message again if a time out occurs, or the network connection is dead, etc. Tue Oct 30 17:35:19 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * Made the bastard compile with Cygwin and added documentation for it to the doc/ directory Sun Oct 28 16:08:21 GMT 2001 Andreas Bauer <baueran@users.sourceforge.net> * rcfile is not sought in /home/<username> anymore, by default; that will force the user to set $HOME correctly * Added Connection.* Checker.* SocketConnection.* WinSockConnection.* RegExp.* to src/ in order to seperate networking code from the rest of the program logics * Rewrote almost all string handling routines * Default value for MAXLENGTH is 0 now/again 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)