[Exim] Exim DNS lookup...

Pàgina inicial
Delete this message
Reply to this message
Autor: Chan Cao
Data:  
A: exim-users
Assumpte: [Exim] Exim DNS lookup...
Ok cool. I got it. I finally stumbled upon a FAQ which
mentions the use of the gethostbyname option. My initial
misunderstanding was that if this option is set to true
then no MX processing would be done. But seeing how Exim
walks down the configure file in order, I put an additional
router after the router in the default config file:

lookuphost:
driver = lookuphost
transport = remote_smtp

#added lookuphost2 router to handle specific domains [jena] to
#be passed to gethostbyname

lookuphost2:
driver = lookuphost
transport = remote_smtp
domains = exchange.xxx.xxx.com
gethostbyname

That did the trick. Thanks Peter. I sorta expected a more detailed
explanation but seeing how I should figure things out, I think it's
better for my own sake. Your help nudged me in the right direction.

Chan


-----Original Message-----
From: Peter Radcliffe [mailto:pir@pir.net]
Sent: Tuesday, December 28, 1999 4:24 PM
To: exim-users@???
Subject: Re: [Exim] re: DNS lookup by default...


Chan Cao <ctcao@???> probably said:
> Well, I just want Exim to look in the hosts file first for the "A"
> record of an Exchange server then fall back to DNS. The clipping
> I included from the Exim manual indicated that I'd lose "MX processing"
> by doing that.


So write a router that looks at the hosts file.

P.

-- 
pir                  pir@???                    pir@???




--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##