Re: [Exim] DNS lookup by default, why?

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Radcliffe
Data:  
A: exim-users
Assumpte: Re: [Exim] DNS lookup by default, why?
Chan Cao <ctcao@???> probably said:
> I was looking at a debug output and found that the "A" records I put
> in my /etc/hosts are not looked up by Exim. Digging further, it seems
> that DNS is used by default. There must be some wisdom here that all
> venues of host lookup aren't included automatically. I'm tempted to


This is defined at the OS level, not by exim.
Change this in your OS.

Doing routing by changing your hosts file is a Bad Plan and very evil.

> include the gethostbyname option in the lookuphost router but it seems
> I'd lose MX processing. I feel I don't have flexibility here...could
> someone explain? Thanks.


There are dozens of different ways you can route mail in routers.
You didn't say what you wanted to do.

P.

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