> http://www.everysoft.com/clamfilter.html
> 
> It's a single perl script that I've had good luck with for running inbound
> attachments through clamav.

But it's calling clamscan with the --mbox switch and the manpage says:
    DO NOT enable this option in scripts doing things such as
    connecting clamscan to your mailer. Or anything accessable to the
    public or production boxes.  This code is VERY unstable (see the
    last weeks Changlog for and example of the bugrate).

So I made a healthy mix of clamstream and clamfilter:
 http://andy.spiegl.de/antivirus/clamfilter.pl

It's not perfect, suggestions welcome!
 Andy.

-- 
                              o      _     _         _
  ------- __o       __o      /\_   _ \\o  (_)\__/o  (_)          -o)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 A small clue and no budget will get you a lot farther
 than no clue and a big budget.

Reply via email to