Date: Wed, 28 Apr 2010 07:59:45 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: John <john@starfire.mn.org> Cc: freebsd-questions@freebsd.org Subject: Re: Really simple spam trap - /dev/pf permissions? Message-ID: <4BD7DCE1.9070004@infracaninophile.co.uk> In-Reply-To: <20100427193106.GA91570@elwood.starfire.mn.org> References: <20100427193106.GA91570@elwood.starfire.mn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27/04/2010 20:31:06, John wrote: > I have done a monkey-simple spam trap. It just so happens that I have > a dozen or more user accounts that haven't been actually used in over five > years and get dozens of spam hits every day. I had been just sending > them all to /dev/null with a sendmail alias. > > It seems to me that these are perfect trap e-mails for spam, and > in the course of playing with what I'm attempting to do, it really > does look that the only thing that hits them are spam messages. > > So, I built this really simple perl script, which gets invoked through > a sendmail alias, as such: > sink: "| /home/john/spamsink >> /tmp/blacklist" > and then I alias various of the old, dead accounts to "sink". Check out the mail/spamd port -- it does what you want, and more besides. The keyword is 'greytrapping' Also, as it works against the host that connects to your server, rather than anything in the message headers (probably forged by the spammers) it's much better targeted. Oh, and the action on discovered spammers is not simply to block their access, but to engage them in a long drawn out and ultimately futile SMTP coversation, thus wasting their resources and giving them a generally bad day. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvX3OEACgkQ8Mjk52CukIzb2ACdG523qc8D90mB1M5/ixxcotlk LXsAn35ruIpvNVC3UkSxItADOVVbL0JO =FIpU -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD7DCE1.9070004>