ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> spamassassin-users
spamassassin-users
Re: Is Spamassassin anchored or not ?
by Loren Wilton other posts by this author
Apr 30 2005 4:46PM messages near this date
Re: INVALID_MSGID hitting improperly? | Header rewriting and markup
>  Strange as it may seem the spam that I'm trying to catch always comes in
as
>  To: Joe Blow <real@[...].com>

Late on chiming in on this, but I would write a rule for that specific
address (only) as

header JOEBLOW    ToCc =~ /^\s*Joe\sBlow\s{0,5}<real\@example\.com> /i

If (from what I recall of your original rule) "joe blow" is really a
nmemonic for any two-word name, and it always contains alphas, and they
always have initial caps, I would write:

header JOEBLOW ToCc =~
/^\s*[A-Z]\w+\s{1,5}[A-Z]\w+\s{0,5}<\w+\@\w+\.(?i:com|net|biz|info)> /    #
no /i

Or something close along those lines.

        Loren

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved