On Tue, Mar 22, 2005 at 05:00:12PM -0800, Robert Markin wrote: > This should probably be obvious, but I cannot seem to come up with an > easy way to quickly scan and delete the email that makes it into my spam > trap folders. > > RH9 machine (accessed via SSH, Webmin, IMAP or POP3). > Procmail sends all mail detected as spam by SA 3.0.0 to a > "probably-spam" file in the user's /home directory. (mbox format)
Do you send _all_ marked spam to the spam bucket? You don't really have to. In my ~/.procmailrc, after spamc has been invoked and marked the mail, I have a recipe that summarily punts any spam that has scored over 9. Set your threshold wherever you are comfortable. Here's what it looks like: :0fw | spamc # Any spam with 9 or more * will be summarily punted. :0 * ^X-Spam-Level: \*\*\*\*\*\*\*\*\* /dev/null That will get rid of a large chunk of it. Adjust the number of "\*" to suit your confidence. > Since I only have five users I am currently using SSH to cd into their > directory then pico the "probably-spam" file and start scanning. > (Awkward to say the least) > When I decide that the contents of the file is in fact spam, I "rm" then > "touch" the file. > > I am sure that this is probably the worst way that there is to do this, > but it is the best that I have come up with. Naw, not the worst. If you are starting as root and doing "su - <userid>", you can use something like mutt (my preference) or elm to check out the spam bucket this way: mutt -f probably-spam It comes up with a simple display of sender and subject, one line per mail. Hit "d" to delete it, <Return> to view it, etc. You can usually tell what's spam, and if it all is, just lean on the "d" key until it hits bottom, then hit "q" to quit. Then "touch" the file if it's important. I don't think it is, because it will be re-created. > Any ideas? Let me know if any of that's not clear. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. [EMAIL PROTECTED] http://www.bobcatos.com Worry is a waste of the imagination.