-bob
Lloyd Albin wrote:
What configuration are you running? (e.g. qmail+vpopmail + courierimap)
In the setup that I am running each message is stored as a seperate file within the mail box setup.
I have the following directory structure /home/vpopmail/domains/sampledomain.com/username/Maildir/cur /home/vpopmail/domains/sampledomain.com/username/Maildir/new /home/vpopmail/domains/sampledomain.com/username/Maildir/tmp
Within the new directory is a list of the emails. -rw------- 1 vpopmail vchkpw 4863 Apr 8 16:01 1081465307.22178.mail.sample domain.com,S=4798 -rw------- 1 vpopmail vchkpw 5088 Apr 8 16:04 1081465462.22278.mail.sample domain.com,S=5023
So for the configuration that I am running it does work. If you let me know about yours, there may be a easy way also, or maybe not.
-Lloyd
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
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