                        Mailfilter ChangeLog

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)
