On Wed, 2009-11-25 at 10:05 +0000, Paul Walsh wrote:
> I'm afraid I'm a bit rusty with regards to rewriting and pattern matching.  
> What I'm trying to do is rewrite the sender
> address where the local part starts with either F or S followed by 8 digits, 
> for example
> 
> [email protected]  needs to be rewritten as [email protected]
> 
> I've tried the following rule
> 
> \n[fs]\d{[email protected]     [email protected] Ffrs
> 
As far as I remember the rewriting is not case-independant, so use
'[fsFS]' instead.



John.

-- 
John Horne                   Tel: +44 (0)1752 587287
University of Plymouth, UK   Fax: +44 (0)1752 587001

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to