Re: query-style lookup for text files (was: [exim] [Debian] …

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Marc Haber
CC: exim-users
Subject: Re: query-style lookup for text files (was: [exim] [Debian] authentication to servers which multiple A records)
On Tue, 13 Sep 2005, Marc Haber wrote:

> which will return (modulo bracketing and other syntax errors) the
> second field of any line (the first line?) in /etc/exim4/passwd.client
> for whose first field exists an A record pointing to the IP address of
> the we are actually talking to.
>
> Is this already possible in exim?


I don't think so, but it seems very special-purpose.

However, note that you can now load functions of your own, so maybe
that's a route for you. Take a look at the $dlfunc{ expansion item. This
is currently documented only in doc/NewStuff.

-- 
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