> By the way anyone reading this, can you tell me how I mite modify this > chunk of code to block subjects where one word is rejectable e.g. > > Buy your Viagra > Get your Viagra > Viagra cheap > > Different subjects with a common word > > \ [*] Viagra [*] / or something like that
You could start with $subject =~ /Viagra/i; which will catch all subjects which contain the word, in a case-insensitive way. However, 99% of Viagra ads now coming through have some form of obfuscation, including but not limited to: [EMAIL PROTECTED] V|agra Vi�gra V.I.A.G.R.A. Vi agra And so on. Use Spamassassin, auto whitelisting, greylisting, Vipul's Razor, DCC, and bayesian filtering and you'll kill 99.9% of them. Filter only by subject and you'll get less than 2% if you're lucky. Then try the same with Cialis and all of the other interesting strings, and see if your filter can do all of its checks before Sendmail times it out... Best Wishes, Paul. __________________________________________________ Paul Murphy Head of Informatics Ionix Pharmaceuticals Ltd 418 Science Park, Cambridge, CB4 0PA Tel. 01223 433741 Fax. 01223 433788 _______________________________________________________________________ DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please contact the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741 _______________________________________________________________________
_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

