You could try SpamAssassin (www.spamassassin.org). Quite effective rule based blocking.
A lot (if not most) Spam emails come from real email addresses, they just don't belong to the guy that sent the email. For the Spammers that use their own email addresses (be it Yahoo or Hotmail etc.), if you reply they'll know your email address is 'real' and you'll receive 10X more, so be careful. SMTP has a command called 'RCPT TO: [EMAIL PROTECTED]', this will return 250 if the email address exists on that server (see http://cr.yp.to/smtp.html). You can send real-time SMTP commands using the Net::Cmd module. There is one great big downside to this though (I think) the Qmail SMTP server will return '250' to every email address also some legitimate newsletters don't use 'real' email addresses either. Good luck! -----Original Message----- From: Jerry Rocteur [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 22:33 To: [EMAIL PROTECTED] Subject: OT: Conceptual -- Spam stopper script Hi, I've been analyzing my SPAM by replying to it lately and find that MOST email addresses where the SPAM originates do not exist.. Nothing new here.. What I'd like to do is to write a script that accesses my pop mail, gets the From: address, verifies it and if it is a valid address, accepts the mail, otherwise, removes it.. Is this feasible or plain wishful thinking ??? I've written perl scripts to handle sending mail and to access pop mail but I'm not sure of being able to do the above ??? I realize this is a bit OFF topic but SPAM is getting to me ;-(( Thanks for your thoughts, Jerry Rocteur. Italy did it first... http://www.rocteur.cc/geeklog/public_html/ article.php?story=20030914164349518 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]