Searching the archvies, it seems I've only seen trashscan suggested as the way to use clamav from procmail. I initially tried to set it up as a milter, but after running into many permissions problems I decided to try procmail, at least to test.
Trashscan seems to invoke a lot of othe programs though, whereas the --mbox option to clamscan looks fairly simple, and has scanned everything I've thrown at it. Does trashscan to anything --mbox doesn't ? If not, this simple procmail rule has worked very well for me in tests: VIRUS=`/usr/local/bin/clamdscan --mbox --disable-summary --stdout -` :0: * VIRUS ?? FOUND Virus ========================================================== Chris Candreva -- [EMAIL PROTECTED] -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/ ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
