I am currently using Thunderbird for mail but am switching to Pine with
fetchmail getting the mail and feeding it to procmail.
I've been trying to get clamscan to work in my procmailrc file. I went
back through the mail list archives and found something like I was
trying to do. I've saved the junk files I get and when I scan my
existing Junk mailbox that Tbird has it finds a virus. However,
clamscan in procmail doesn't find them. I have been emailing the junk
file to myself and then letting procmail filter them so it should find
them.
What I have is below, however, since some of these are multipart with
pif attachments, etc. do I have to do anything to tell procmail to look
at the attachment and if so how? Any help would be appreciated.
Here's what is in my procmailrc file.
# Anti-virus check
#
# Scan it and get status.
:0
CLAMAVSTATUS=|/usr/bin/clamscan -
# Was a virus found - if so quarantine it.
:0
* CLAMAVSTATUS ?? ^.*: \/.* FOUND
$MAILDIR/quarantine
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail