<?xml version="1.0"?>
<doc>
	<title>ClamMailFilter</title>
	<body>
		<p>ClamMailFilter is a small GPL project to be used in conjuction with procmail and clamscan which adds a header to infected mails before passing them back to the procmail pipe. Incase we get delivered more than one mail in the loop we cheat and save the incoming mail in to a temporary mbox file, the file is then opened using the perl module Mail::Box and the seperate parts of multipart messages are saved in to a temporary directory, which is then scanned by clamscan.</p>
		<p>The headers that are injected in to infected e-mails are as follows:</p>
		<p>
			<ul>
				<li>X-Virus-Found: Yes</li>
				<li>X-Virus-Details: &lt;List of Viruses that this mail is infected with&gt;</li>
			</ul>
		</p>
		<p>If something went wrong whilst running clamscan, the following headers are injected:</p>
		<p>
			<ul>
				<li>X-Possible-Virus: YES</li>
				<li>X-Virus-Details: An error occured when running the virus scanner, possibly a corrupt archive</li>
			</ul>
		</p>
		<p>The current version can be downloaded from <a href="clammailfilter-0.93.tar.gz">here</a>, this is currently version 0.93.</p>
	</body>
</doc>
