|
|
A.8. Adding MIME and Filetype ChecksThese checks depend on features found in Tom Kistner's Exiscan-ACL patch - see Prerequisites for details. Exiscan-ACL includes support for MIME decoding, and file name suffix checks (or to use a misnomer from the Windows world, "file extension" checks). This check alone will block most Windows virii - but not those that are transmitted in .ZIP archives or those that exploit Outlook/MSIE HTML rendering vulnerabilities - see the discussion on Virus Scanners. These checks should go into acl_data, before the final accept statement:
You will note that the demime condition is invoked twice in the example above. However, the results are cached, so the message is not actually processed twice. |