Oops!! I forgot a line; sorry! (I'll direct followups to MIMEDefang mailing list. This is somewhat OT.)
#============================= $Features{'Virus:CLAMD'} = '/full/path/to/clamd'; $ClamdSock = '/full/path/to/clamd.sock'; $Features{'Virus:CLAMAV'} = '/full/path/to/clamscan' $AdminAddress = '[EMAIL PROTECTED]'; sub filter_end { my ($code, $category, $action) = message_contains_virus(); if ($action eq 'quarantine') { action_quarantine_entire_message(); # Forgot this in original post. send_quarantine_notifications(); action_discard(); } } #============================= _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml