Re: [Exim] Exim 4: Opinions sought

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: John W Baxter
CC: exim-users
Tárgy: Re: [Exim] Exim 4: Opinions sought
On Fri, 7 Sep 2001, John W Baxter wrote:

> (1) and (2)...where (2) is
> RE_HOLDDOMAINS = ^\d+.*\.com$
> hold_domains = RE_HOLDDOMAINS : other times ...


> Unfortunately, the expansion code then has to remember "this part of the
> string came from a RE_ macro, so expand it specially".


Impossibly complicated to implement in the current situation, I think,
and also one doesn't always want to use macros. Macro expansion happens
when the string is read in, incidentally, so the fact that things were
macros gets lost at an early state.

> I don't think this will do as is...it may trigger a good idea, which I why
> I post it.


Thanks. What I have implemented is \N...\N to mean "don't expand the
...". So you can write

hold_domains = \N^\d+.*\.com$\N : other items ...


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