Quoting "Michael D. Crawford" <[EMAIL PROTECTED]>:
In the last two days I have received five hundred
megabytes of spam. I'm pretty sure it's mostly
viruses.
I'd like to find a way to delete individual
virus-infected messages from my mailbox, but the
clamscan --mbox command stops scanning upon finding
the first virus, and if I use the --remove option it
deletes the entire mailbox rather than an individual
message. Fortunately, I tested with a copy of my
mailbox.
I read in the FAQ that you don't have an option to
disinfect files, only to report on or delete them. I
would think it wouldn't be too hard to disinfect a
mailbox file though.
What I think would work would be to unpack my mailbox
file into a directory of individual messages, one in
each file, and use clamscan --mbox --remove on that
directory, and then collect all the messages back into
an individual mailbox file.
This is a good reason to use maildirs.
Jim
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users