[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getmail question



Jude DaShiell:
> I'm trying to get getmail to work and am needing to have the incoming 
> e-mail filtered through clamscan which last night had clamscan throw 
> several errors one aout executing root commands.  All I want to do with 
> the filtering is have clamscan inspect incoming messages and have it 
> dispose of messages with malware in them before those end up in my Mboxrd 
> file.  Unless I'm using the wrong supplied example the clamscan stuff may 
> not work.

[filter]
type = Filter_classifier
path = /usr/bin/clamdscan
arguments = ("--stdout", "--no-summary", "-")
exitcodes_drop = (1, )

Works for me. I have ClamAV running as a daemon, though.

J.
-- 
I like my Toyota RAV4 because of the commanding view of the traffic
jams.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: