Re: [exim] exim 3.22 -> exim 4.5...

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Margrit Lottmann
CC: exim-users
Subject: Re: [exim] exim 3.22 -> exim 4.5...
On Tue, 24 May 2005, Margrit Lottmann wrote:

> "*@mysql;select domain from local_domains where
> domain='${quote_mysql::$domain}'" "${lookup mysql{select main_addr from
> synonyms where syn_addr='${quote_mysql:$local_part@$domain}'}
> {$value}fail}" Fftq
>
> Philip Hazel wrote us as an answer to my question
> that version 3 doesn't allow such Lookups in the left rule part.
>
> Is there any solution in Version 4 ???


In Exim 4, the pattern for a rewrite rule is any item that may appear in
an address list (see section 10.18). I think what you have above should
work.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book