Charles Gregory <cgregory(_at_)hwcn(_dot_)org> wrote:
[...]
No, what I'm looking for is something like CLAMAV, but which
can be called from procmail to work on a message in mbox
format. CLAMAV has that capability, but it is still not
'recommended' - they say the code is unstable.
Dallman and other patiently worked with me to get clamav working both with and
WITHOUT the --mbox option, the only trick being to scan the body rather than
the headers and body.
I also posted some initial test results on exactly HOW to call clamav
(clamdscan) which other elaborated on. It was a rather lengthy thread.
I want a virus
scanner with a decent 'update' mechanism for new signatures.
Unfortunately we're a community ISP, big user base, no
dollars. So most paid options are out of the question. Thanks
anyways.
Clamav may still be just what you need! Here's my latest:
--- cut here --- cut here ---
#======================================================
# clamav virus scan
#======================================================
:0 b
VIRUS=|/usr/bin/clamdscan --disable-summary --stdout -
LOG="VIRUS=$VIRUS$NL"
:0
* VIRUS ?? : \/.* FOUND$
{
:0 fw
| formail -A "X-Virus-Status: Yes, $MATCH"
}
:0 E
* VIRUS ?? : OK$
{
:0 fw
| formail -A "X-Virus-Status: No"
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail