Re: [Clamav-users] Delete infected email

2004-04-16 Thread Richard Bates
I use clamassassin and procmail to filter the virus mail
clamassassin is a script that runs clamscan and puts headers inthe email
much like spamassassin.
you can then use procmail to send it any where you want
a specific holding folder, or straight to /dev/null
see http://drivel.com/clamassassin/



Marco Draghi wrote:

Hi, I've been using Clamav on Cyrus imap mail server.
Clamscan works great on mbox, but I'd like to delete automatically 
infected mail after clamscan. How can I set it?
Thanks, Marco.




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Delete infected email

2004-04-16 Thread Joe Maimon


Marco Draghi wrote:

Hi, I've been using Clamav on Cyrus imap mail server.
Clamscan works great on mbox, but I'd like to delete automatically 
infected mail after clamscan. How can I set it?
Thanks, Marco.
As answered previously on this list

Make sure you only scan one peice of email each time you call clamscan, 
then by using the return code delete it/quarantine it/flag it/whatever

If their are in a mbox spool file, tools such as formail can help you 
with that.

You will probaly see a large performance improvement in the above by 
using clamd with the ScanMail directive uncommented in /etc/clamav.conf 
or wherever your is.

I have found that you can usualy do something like this

cat $email_msg | clamdscan -

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Delete infected email

2004-04-16 Thread Marco Draghi



Hi, I've been using Clamav on Cyrus imap mail 
server.
Clamscan works great on mbox, but I'd like 
to delete automatically infected mail after 
clamscan. How can I set it?
Thanks, Marco.