-----------------------------------------------------------------------
VERSION 2.08

- Fixed insanely stupid (my stupidity, of course) bug which made Virge
  crash when using AVPDaemon (kavdaemon). I actually wonder how the
  hell it even worked most of the time. Thanks to Randy Cone for
  reporting this.

- Virus notification can now also be sent to recipient
  ('notify_rcpt_virus' configuation option)

-----------------------------------------------------------------------
VERSION 2.07

- Added ".eml" extension to default list of extensions to remove

- Notifications to senders of 'bad attachments' were not sent. Bug
  spotted and fixed by "Alex Ly" (Ly -at- lytek.net). Thanks.

- Fixed bug in scan_trophie.c and scan_sophie.c which would make Virge
  timeout if mail had more attachments than Sophie/Trophie had running
  processes (order of return/close(socket) was reversed - ouch!)

-----------------------------------------------------------------------
VERSION 2.06-beta1

- Added 'save_isolated:' configuration option. Administrator can now
  choose if infected/isolated files will be archived

- Time required for mail processing is now added to virge.log.

  Example:
  
07:39:55.07328: Mail delivered (00:03) [+] from=<me@there.com>, to=<blah>, size=<14111 bytes>

[ I made it take 3 seconds on purpose - usually it doesn't take that long (I hope :) ]

-----------------------------------------------------------------------
VERSION 2.05

- Added file locking (for logfiles) using fcntl(). This should be
  portable, but let me know if you encounter any problems. I thought I
  have done this long time ago...
  
  NOTE: Don't keep logfiles on NFS partition. Bad things could happen.

- 'log_debug:' configuration option added. Debugging is now not sent
  into syslog anymore, but to file (or stderr - usually screen :)
  
  I would suggest that people who experience *any* problems with Virge
  enable debugging (caution - logfile can grow very quickly).

- Fixed some typos, cleaned up some pieces of code

-----------------------------------------------------------------------
VERSION 2.04 (MAJOR BUGFIX - UPGRADE PLEASE!)

- Major bug fixed. Sophie/Trophie have been modified to read requests
  by using fgets(), but I forgot to modify Virge to send "\n"
  (newline). This has been fixed now

  NOTE: Virge 2.04 will work with Sophie 1.13+ or Trophie 1.01+.
  It will not work with older versions.

- I have also decided to 'freeze' Sophie/Trophie, and no more new
  features will be added for the time being. This will (hopefully)
  help me kill all bugs before going on with adding features into
  Virge, Sophie or Trophie.

-----------------------------------------------------------------------
VERSION 2.03 (MAJOR BUGFIXES - UPGRADE PLEASE!)

- 2 *huge* bugs have been fixed! Do not use older versions :(

- 1st bug was introduced because I was a moron and forgot that
  strstr() is case sensitive - this has been fixed

- 2nd bug would trigger infinite loop in fgets() if ending boundary
  was missing/invalid (and Virge blindly trusted to results returned
  from librfc2045 - not their fault though :)

-----------------------------------------------------------------------
VERSION 2.02

- Added support for virus scanning with 'Trophie'

- Added 'scan_trophie' and 'scan_trophie_socket' config keywords.
  (usage is same as for 'scan_sophie' and 'scan_sophie_socket')

- Fixed some typos in scan_sophie.c

-----------------------------------------------------------------------
VERSION 2.01

- Added 'virge_timeout' keyword to configuration file. With this,
  you can specify the 'timeout' value for Virge. If it fails to
  check/deliver mail within VIRGE_TIMEOUT seconds, it will terminate
  and alert through the syslog.

- Added 'notify_use_header_rcpt' keyword. If you wish that senders of
  infected files/attachments see the original "To:" email address
  which they've specified in email clients, set this to "1".
  Otherwise, Virge will use the local recipient email address
  
- Mode (permissions) for directories (created by Virge) can now be
  specified in the configuration file - 'virge_dir_mode' keyword is
  used for this.
  
  NOTE: Make sure you read new configuration file, and comments inside.
        If you specify wrong permission mode for directories, Virge
        won't be able to create temporary file, and mail will be lost.

-----------------------------------------------------------------------
VERSION 2.0

- Updated libraries (numlib/rfc2045/rfc822) to files from maildrop
  v1.3.4

- Mail notification (of sender) in case viruses are found is
  implemented.
  
  Configuration keyword 'notify_sender_virus' is used for this.

- Mail notification (of sender) in case forbidden attachments are
  found is implemented.

  Configuration keyword 'notify_sender_attachment' is used for this.

- In "virge.log" file, 3 types of delivery information are written:

  "Mail delivered [-] from=..."
  This means that mail was delivered directly, without any checking

  "Mail delivered [+] from=..."
  This means that mail was delivered after check was performed
  
  "Mail delivered [!] from=..."
  This means that mail was delivered after it has been rewritten (forbidden attachments were found and were removed)

-----------------------------------------------------------------------
VERSION 1.8

**
  IMPORTANT: If you want to use new version of Virge, you *must* read
  this document, and explore new configuration file and extensions
  file. Quite many changes were made, and I presume the old config
  file wouldn't work with this version of Virge
**

- Regular expressions for filename/extension matching implemented. This
  means that old extensions file might not work properly.

- Added quite many extensions with descriptions to sample extensions
  file.

- Option '-R' added. If Virge is started with '-R' option, regex check
  will be performed. All extensions will be loaded, and attempt to
  compile them will be made. If an error occurs, it will be printed
  out. Please, keep in mind that you *should* run Virge with '-R' (from
  command line, of course) after any changes to extensions file.
  
  Also, keep in mind that check will tell you if regular expression
  is properly *crafted* - it won't really know if regular expression
  will do what you want it to do :)

- Extension file can have comments now. If line starts with '#' it is
  considered to be a comment. Also, comments can be added after the
  extension name, like:
  
  "\.exe$ 	# comment"

  (in this case, there are 'space', 'tab' and '#' character after the
   extension name)

- Virus names are being reported now. For AVP scans, all virus names
  will be reported. Relevant 'snapshot' from logfile:
  
  "WARNING: Virus [I-Worm.Happy + I-Worm.Happy] has been found ..."

  In this case, 2 attachments have been found, and both of them had a
  virus (that is why names are separated with ' + ' sign).
  
  For Sophie scans, only the name of the first virus will be reported,
  since Sophie will not even attempt to scan other files. I am simply
  not going to modify Sophie to find/report all viruses - don't ask.
  It doesn't have any real use. AVP does report all the viruses
  already, without any modifications.
  
- 'log_virus:' configuration keyword added. Viruses will be reported
  to this file as well. Should make it easier for people who want to
  parse it and make stats. Format is simple now, but let me know if
  you have ideas for better output :)

- 'isolate_mode:' configuration keyword added. This way, you can setup
  permissions of your choice for file that is being isolated. Keep in
  mind that this only changes permission of the *file*, not the dir.

- Addition of documentation (check "doc/" directory)

- Various small fixes

-----------------------------------------------------------------------
