On Saturday 31 October 2009, Karl Pearson wrote: >On Sat, October 31, 2009 7:16 am, Gene Heskett wrote: >> Greetings; >> >> Does anyone have a procmail recipe that incorporates clamav into the >> checks, >> and one that handles the clamav output to /dev/null the viri etc? >> >> At least I assume clamav doesn't auto-delete, I've not yet studied all >> the >> docs, but do have freshclam running apparently ok. >> >> Thanks everybody. > >I use ClamAV-milter at MTA level at the gateway. In the new version of >ClamAV, email is not deleted, but is quarantined within sendmail itself. > I don't believe the gateway I'm using (x86 version of dd-wrt) has the iron (or storage, its booting from a cf card) to pull that off, even if I could figure out how to make it an email proxy server.
>I run a cron job against the sendmail queue and send myself a report on >each quarantined email, then remove them. With sendmail this is done >with these two commands: > >report each: >mailq -qQ >remove from quarantine and delete: >sendmail -qQ > >Very useful and the virus infected emails don't get inside my network >anywhere, which if using procmail/SpamAssassin, they would have to. My >network is protected from both the viruses and the waste of email >traffic. Twould be nice, but I'd settle for a couple of lines in the procmail.log indicating it was sent to /dev/null. > >HTH, > >Karl > >> -- >> Cheers, Gene >> "There are four boxes to be used in defense of liberty: >> soap, ballot, jury, and ammo. Please use in that order." >> -Ed Howdershelt (Author) >> The NRA is offering FREE Associate memberships to anyone who wants them. >> <https://www.nrahq.org/nrabonus/accept-membership.asp> >> >> If your happiness depends on what somebody else does, I guess you do >> have a problem. >> -- Richard Bach, "Illusions" > >--- >Karl Pearson >ka...@ourldsfamily.com >Owner/Administrator of the sites at >http://ourldsfamily.com >--- >"To mess up your Linux PC, you have to really work at it; > to mess up a microsoft PC you just have to work on it." >--- > Democracy is two wolves and a lamb voting on what to have > for lunch. Liberty is a well-armed lamb contesting the vote. > --Benjamin Franklin >--- > -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. <https://www.nrahq.org/nrabonus/accept-membership.asp> <knghtbrd> *sigh* My todo list is like the fucking energizer bunny <knghtbrd> It keeps growing and growing and growing and ...