On Sat, 30 Sep 2006, John Robinson wrote:
> On 30/09/2006 00:13, Florian Laws wrote:
> > However, I don't really like that I do the lookup twice
> > (and have to write it even three times).
>
> I vaguely recall that lookups like this are cached, but you should check.
>
> Err, I just did. The note at the end of section 2 below
> http://www.exim.org/exim-html-4.62/doc/html/spec_html/ch09.html#id2542687
> says "the results of all lookups are cached".
... and you can avoid writing it three times by using a macro. But there
is a simpler solution, as has already been posted.
--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book