I am not sure which regex implementation is in use in ASSP, but this  
may help:
http://www.gskinner.com/RegExr/

x-cgp-deliver-to:\ a5\-[a-zA-Z]\-[0-9]{1,3...@sc\.ru\.ru
You may need to add g and i to make it global and case insensitive,  
not sure how ASSP treats that either.

For example, a5-z...@sc.ru.ru would fail the above test.  I set 1,3  
because most numbers are in ranges of up to three characters in an IP  
address.  I escaped the - just in case, it can not hurt, but may not  
be needed.

You may be able to make this a lot simpler with a starts with a5-z-,  
which I bet is unique for you, and you are not likely to hit that  
email address randomly.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *

On Nov 12, 2009, at 11:13 PM, Маллиндайн Стивен (Steve  
Mallindine) wrote:

> Thomas,
>
> Do you have 5 minutes to start me off in the right direction?
>
> I have no idea on how to do reg expressions.....and I need to do  
> this one
> right first time....
>
>
> Some spam is slipping through both Spamborona and ASSP....Bayesian  
> isnt
> picking up either....and I still cant get analysis to work to check.
>
> What I have noticed is that most message are addressed to the real  
> mailbox
> name instead of the alias (eg - mine is a5-z...@sc.ru.ru (real)  
> instead of
> st...@sc.ru.ru (alias))
>
> So, if I put in bombHeaderRe:
>
> x-cgp-deliver-to: a5-[a-z]-[0-...@sc.ru.ru
>
> Will that work?
>
> (I'm just guessing looking at the examples in bombre.txt - but I'm  
> not sure
> about the 0-99 before the @)
>
> Cheers


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to