Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

vsergu (505)

vsergu
  (email not shown publicly)

Journal of vsergu (505)

Sunday September 21, 2003
01:33 PM

'Swenderful

[ #14817 ]

I was mostly untouched by Sobig, but two of my accounts are being slammed by Swen. Both have been used on Usenet recently (one through a mailing-list gateway).

For my home account, I had been handling my junk mail by running SAProxy (which uses SpamAssassin), but I got tired of having to download all the viruses before filtering -- plus I was afraid my mailbox would fill up. So I've finally learned the basics of procmail. For now, I'm keeping the headers so I can see how many I get (and contact the sender on the off chance that somehow a real message gets trashed). I'm also keeping a count of the total bytes received. The body of the mail gets dropped, so my mailbox fills much more slowly, and no messages get send into the queue to be retrieved with POP.

There's probably a better way, but here's the .procmailrc file:

:0 HB:
*^Content-Type: (application/x-msdownload|audio/x-(wav|midi));
{
    :0 hc
    mail/junk

    :0
    | wc -c >> junk-mail.txt
}

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.