> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jack > London Networks > Sent: Thursday, April 08, 2004 6:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [Clamav-users] Cleaning MBOX files? > > > If I use the --remove flag, it removes the whole mailbox file, not just > the infected message. Glad I tested on a copy of an infected mailbox > and not the real thing! :) > > I'm looking at the other solutions proposed, but they're going to take > more work, obviously......and I don't think that it'll be something that > I can run automatically every night on all the mail folders. > > *sigh* > > -bob
Thats because the example given (qmail) uses maildir, not mbox. In the qmail case it would only remove the infected message. In the mbox case...well....you know what happens. Jim > > Lloyd Albin wrote: > > >If you want to scan all mailboxes the following command is what I use to > >do a manual scan. This example is for qmail with vpopmail. > > > >clamscan -r /home/vpopmail/domains --mbox -i --remove > > > >If you want to scan an individual domain use > > > >clamscan -r /home/vpopmail/domains/sampledomain.com --mbox -i --remove > > > >Or if you want to scan an individual account use > > > >clamscan -r /home/vpopmail/domains/sampledomain.com/username --mbox -i > >--remove > > > >You must use clamscan because it will not timeout which the clamdscan > >will. > > > >-Lloyd > > > > > > > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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