On Thu, Feb 23, 2006 at 01:47:20AM -0800, Lee Yip Fei said: > I run the following command in FreeBSD and it delete the entire > mailbox when there is a single email contain virus. > > clamscan --infected --recursive --remove > > The mailserver is exim, hosting control panel is cpanel. May I know > what is the correct command to have clamav to remove only the > infected email but not the entire mailbox? Thank you.
If the mailbox is mbox, then clamav only did what you told it to. In order to do the sort of thing you're looking for, you'll need to convert the mbox to a Maildir mailbox, rerun the above command, and then convert back. Or you could just always deliver to Maildir. -- -------------------------------------------------------------------------- | Stephen Gran | love, n.: When it's growing, you don't | | [EMAIL PROTECTED] | mind watering it with a few tears. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
signature.asc
Description: Digital signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
