http://www.antivir.de/ has a very good antivirus program called AntiVir.
It's commercial, but for home use is free after registration. There is no
nag-feature, though, anyway.
It can be used to scan incoming mail via procmail with the attached
/etc/procmailrc file...
Lee.
At 07:04 PM 11/6/00 +1100, you wrote:
>not sure if this is what you're asking - but I'd be interested in a
>virus scanner for linux that we could use to scan incoming & outgoing
>mail to our mail server - and files being downloaded through our
>proxy...
>
>as in I want to protect the clients getting email and surfing through
>the proxy.
>
>is this a posibility?
>
>TIA - dan.
>
>At 10:53 PM -0800 5/11/00, Steve Lee wrote:
>>anyone have any idea for a good virus scanner for linux?
>--
METAMAIL_TMPDIR="/etc/procmail/avtemp"
[EMAIL PROTECTED]
VIRUSMSG=/etc/procmail/virusmsg
CONAME=Deanox
RETURNPATH=`grep -e "return-path" -i | sed "s/^.*<//;s/>//"`
MAILSUBJECT=`grep -e "^subject" -i | sed 's/[Ss]ubject. //g'`
:0 ic:/tmp/avtemp.lock
| metamail -r -w -x
:0 ic:/tmp/avtemp.lock
| /usr/bin/antivir $METAMAIL_TMPDIR/* > $METAMAIL_TMPDIR/antivir.log
VIRUSCHECK=`grep -e "VIRUS" $METAMAIL_TMPDIR/antivir.log`
:0 ic:/tmp/avtemp.lock
| rm -f $METAMAIL_TMPDIR/*
:0
* ! $VIRUSCHECK ?? ^^^^
{
:0 h ci
| ( \
echo "To: $RETURNPATH";\
echo "From: $CONAME E-Mail Security daemon <postmaster>";\
echo 'Subject: VIRUS WARNING - virus found in e-mail attachment';\
echo "X-Loop: $CONAME E-Mail Anti-virus agent"; \
echo ;\
cat $VIRUSMSG;\
echo ;\
echo $VIRUSCHECK;\
echo ;\
echo 'Headers from message:';\
echo ;\
sed -e 's/^/> /' ;\
) | $SENDMAIL -U $RETURNPATH
:0 h i
| ( \
echo "To: $SYSADMIN";\
echo "From: $CONAME E-Mail Security daemon <postmaster>";\
echo 'Subject: VIRUS NOTIFY - virus found in e-mail attachment';\
echo "X-Loop: $CONAME E-Mail Anti-virus agent"; \
echo ;\
echo 'The system successfully caught and deleted mail infected ' ;\
echo 'with the following virus(es): ' ;\
echo ;\
echo $VIRUSCHECK;\
echo ;\
echo 'Headers from message:';\
echo ;\
sed -e 's/^/> /' ;\
) | $SENDMAIL -U $SYSADMIN
:0:/tmp/avtemp.lock
/dev/null
}