Regex guide:
http://www.contactor.se/~dast/mail2sms/regex.shtml

This will wrap more than likely:
/\b(?:091|kim|oedi|gradych|president|sam|dawn|jason|jraikou|rhandley|(a?
r)?beau)[EMAIL PROTECTED]/i

Some one please correct me if I'm wrong here!  You might as well drop
the \S+ and make it \.ca also, but I left in since that was what you
had.

Also, look at Chris' rules site for some great examples
http://www.merchantsoverseas.com/wwwroot/gorilla/sa_rules.htm
also see
http://www.exit0.us/

and the wiki for other good stuff.
http://wiki.spamassassin.org/w/

Mike


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Paul Barbeau
> Sent: Tuesday, January 06, 2004 6:23 AM
> To: '[EMAIL PROTECTED]'
> Subject: [SAtalk] Bad Email Address
> 
> 
> I get a large number of email send to the server for users 
> that have not
> worked here (more then a year) or do not exist so i created a 
> rule to filter
> them out.  This rules works great however i have notice a 
> problem.  I get
> email addressed to "beau" this is the last 4 letter of my 
> name.  What i have
> done is try to catch them with adding "<beau" in my rule 
> however this misses
> around 50% of them. do anyone have an idea how i can filter 
> those out? 
> 
> header NOT_HERE_TO To =~
> /(091|kim|oedi|gradych|president|sam|dawn|jason|jraikou|rhandl
> ey|<eau|<beau|
> <rbeau|<arbeau)[EMAIL PROTECTED]/i
> describe NOT_HERE_TO To: addressed to person not at here
> score NOT_HERE_TO 5
> 
> Thanks for any help you can give me
> Paul
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign 
> up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell 
> to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to