Blocking e-mail with special characters in username

John Wilcock john at
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>. 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}\@/


-- Over 3000 webcams from ski resorts around the world -
-- Translate your technical documents and web pages    -

More information about the MailScanner mailing list