Re: [Exim] Variable/operator that contains results of MX loo…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: mark moseley
CC: exim-users
Subject: Re: [Exim] Variable/operator that contains results of MX lookup?
On Wed, 7 Jul 2004, mark moseley wrote:

> I'm curious if the MX records of a looked-up domain
> are available in a variable?


No, but you can find then by using a dnsdb lookup:

${lookup dnsdb{mx=the.domain}}

Make sure you compile Exim with dnsdb lookup support.

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