Re: [exim] Easiest way to handle a specific domain literal a…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Richard.Hall
CC: exim-users
Subject: Re: [exim] Easiest way to handle a specific domain literal address?
On Wed, 6 Dec 2006, Richard.Hall wrote:

> - the rewrite seemed to be tried on both the envelope addresses, not just
> the sender. Is that the case, or did I misinterpret the voluminous
> debugging? If it is the case, is there any way to restrict it to just one
> or the other?


Not for an SMTP rewrite. You just have to make it match only what you
want.

> Section 8 of the spec says that Exim (normally) recognises regular
> expressions by prefixing them with '^', eg ^\\d{3} - is this an anchored
> regex, or would I have to write ^^\\d{3} to anchor it?


It's anchored. You can always start it with ^.* if you want otherwise.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book