Re: [Exim] Exim 4 - regexp rewriting problem

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: exim-users
CC: John Horne
Subject: Re: [Exim] Exim 4 - regexp rewriting problem
I wrote:

> Here's the fix. SMTP rewrites were broken.


I've just noticed another problem with SMTP rewrite. The pattern is NOT
expanded (unlike other rewriting rules). Consequently, your \N won't do
what you expect.

I have a choice of (a) documenting that SMTP rewriting rules are
different or (b) forcing an expansion.

(a) Makes things easy once you understand - these rules always have to
be regex anyway, so expansion probably doesn't achieve anything.

(b) Makes things uniform, which has its advantages.

Views?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.