Blocking e-mail with special characters in username

John Wilcock john at tradoc.fr
Fri Dec 1 11:37:16 GMT 2006


emm1 wrote:
> I have been having alot of e-mails like this one
> from=<biographicalparallelism's at acbm.com>. How can I block e-mail that
> contain characters like ' in the username/domain field?
> 
> Thanks!

I've been seeing a few of these, but all have scored well over 10 points 
largely thanks to SARE stocks rules.

If you want a specific rule, this should catch them:

header		local_FROM_APOSTROPHE	From =~ /\<\w[\w']{1,30}\@/


John.

-- 
-- Over 3000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages    - www.tradoc.fr


More information about the MailScanner mailing list