2006-09-16

clamav procmail filter

I wrote a simple filter for procmail to scan mails with clamav.By default clamd has a socket file under /var/run/clamav/clamd.sock and this filter connects to it and gets the mail scanned.It adds a X-CLAMAV header to the e-mail to inform the reader. Here is the script.