PostfixGate has a regular expression that stops subject headers with arbitrary numbers and letters.  Not sure how it would be implemented in IMail however.

PostfixGate
A member supported Anti-Spam Database
for Postfix, Sendmail, IMail, and many other *nix MTAs.
Check out the PostfixGate line of pre-built and
pre-configured anti-virus, anti-spam, anti-hijacking,
and anti-abuse mail gateway servers.  Everything you
need in one box.
www.postfixgate.com
********************
Tel: 509-344-2001
Fax: 509-226-0710
 
 
----- Original Message -----
From: Roy Komack
Sent: Tuesday, February 12, 2002 5:57 AM
Subject: [IMail Forum] Filtering Digits

I can't get the \d rule for filtering digits in Header fields to
work. I've read the User Guide and tried quite a few experiments,
but NO GO. Here are two examples of SPAM I'd like to filter out:

From: [EMAIL PROTECTED]
Subject: Win a Balloon!            [123454]

If I scan for 1234 I'm OK, but neither of these two patterns will work:

\d\d\d\d
{4,10}\d

What am I doing wrong?

------------------------------------------------------------------
If anyone has an extra moment, I'd love to know where the header:
x-stuff-for-pete comes from, and whether it's a good SPAM indicator.
Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to