making clamav examine

Spicer, Kevin Kevin.Spicer at BMRB.CO.UK
Wed Jan 28 08:53:01 GMT 2004


Daniel Bidwell wrote:
> I am using MailScanner 4.20-3 with Clamav 0.60.  They are working
> well, but clamav doesn't seem to be scanning .zip files from
> MailScanner. When I run clamscan on an infected zip file it tells
> detects the virus correctly. 
> 
> I have added the "--unzip" option to the clamav-wrapper, but this
> doesn't seem to make any difference.  Is there a list of file types
> that MailScanner will pass to clamav?  Any suggestions?

The default wrapper script for Clam with MailScanner can't use external unpackers due to permissions issues (where MailScanner runs as root).  I've attached a copy of the wrapper I use - I did send it to Julian a while back but I don't think it made it into the distribution.

You also need to set the following in MailScanner.conf
Incoming Work User =
Incoming Work Group = clamav
Incoming Work Permissions = 0640



BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: clamav-wrapper
Type: application/octet-stream
Size: 5821 bytes
Desc: clamav-wrapper
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040128/e1f2c63c/clamav-wrapper.obj


More information about the MailScanner mailing list