I've installed clamav but can't get it to scan the text inside an email
message. The message with the eicar string gets the header X-Virus-Scan:
but no warnings. Maybe it's not supposed to scan the message but only the
attachments? Can I change that?

Clamav finds and flags email with attachments containing eicar string but
doesn't find the string inside a message.

I'm using postfix, procmail, trashscan, and clamscan.

My procmailrc:

# /etc/procmailrc
SHELL=/bin/bash
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:

#1. Run TrashScan

:0
* ^Subject:
* !^X-Virus-Scan:
| /usr/local/sbin/trashscan-new

#2. Tag the mail

:0fhw
* ^X-Virus-Scan: Suspicious
* ^Subject: *
| sed -e 's/^Subject:/Subject: [virus]/'



Thanks for any ideas.


_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to