on Mon, Feb 06, 2006 at 12:18:37PM +0000, Clive Menzies ([EMAIL PROTECTED]) wrote: > On (06/02/06 04:07), Karsten M. Self wrote: > > Clive Menzies ([EMAIL PROTECTED]) wrote: > > > On (06/02/06 01:05), Karsten M. Self wrote: > > > Do you have a suitable script to share? > > > > http://linuxmafia.com/~karsten/Download/SpamTools.tar.gz > > > > Note that you should be familiar with shell scripting and reading SMTP > > headers, *and* should be very aware that you *WILL* shoot yourself in > > the foot if you run this without reading the docs. Exempt your mailing > > lists before you piss off a lot of folks. > > > > Otherwise: it generates spam reports at the rate of 8-20 seconds per, > > and is designed to run over Maildir folder formats. Part of output can > > be found by searching my name in Google Groups > > news.admin.net-abuse.sightings. > > > > If you do run this, I'd be very interested in seeing your spam-source > > stats. See my homepage for details. > > Thanks Karsten > > I'll find some time to put a cold towel on my head, read and inwardly > digest. I have limited scripting experience and a vague understanding of > SMTP headers.... so up the learning curve we go :)
The key bit is to know what your mailserver's 'Received' line looks like, and provide an appropriate regex for $MY_SMTP_SERVER. You'll also want to augment the $IGNORE_FILE with any domains you *never* want to report spam to. Mailing list domains would be good. Most of the lists I'm on are already there ;-) Peace. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What Part of "Gestalt" don't you understand? Paranoia is knowing all the facts." -Woody Allen
signature.asc
Description: Digital signature