Note: This README/NEWS file refers to the source tarball. Some things described
here may not be available in the binary packages.
--

How clamdmail works
-------------------

Clamdmail is designed for use with qmail but it will work with any MTA (e.g. zmailer) that can be persuaded to pass mail to it on stdout.

If clamdmail finds an infected message it can do one of two things:

 	- Quarantine the infected mail and forward a warning to the mail's recipient and postmaster (i.e. you). (With --quar flag)
	- Attach the infected message to a warning to the mail's recipient. (Default)

Before checking for viruses, clamdmail can pass input to SpamAssassin's spamd. This is done using the --spam flag.

Clamdmail can scan files encapsulated by Exchange and Outlook using the TNEF format if you install
verdammelt's tnef package (http://sourceforge.net/projects/tnef). See INSTALL for more details.
 
You can tag mail as scanned by using clamdmail with the --tag flag. If you want to change the message
used to tag mails open up clamdmail.c, change the default message in printtag() and recompile.

When you use the --quar=/my/quarantine/dir flag be sure to chown the directory to the clamav user.

Naturally, you will need to have clamd up and running before clamdmail can be of any use. 

NOTE: YOU WILL ALWAYS NEED TO PROVIDE AN --admin ARGUMENT TO CLAMDMAIL!! THIS IS BECAUSE IT NEEDS TO KNOW 
      WHO THE POSTMASTER IS WHEN NOTIFYING RECIPIENTS...

To view all options, type:

		clamdmail -h
