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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: mark moseley
Kopio: exim-users
Aihe: 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