Wietse Venema wrote:
> Cory Coager:
>> Noel Jones said the following on 01/22/2009 03:20 PM:
>>>> Is there another way of adding multiple addresses for transport of a 
>>>> domain?  Round robin DNS would work I guess but not as good as a 
>>>> failover.  If one of the addresses in the DNS is down the transport 
>>>> is going to get delayed for that MX and the mailq is going to build up.
>>> Why would an address in DNS being down be any different from an 
>>> address specified in a config file being down?
>>>
>>> Anyway, if you don't want to put special entries in DNS you can add 
>>> entries to your hosts file to simulate multiple A records.
>>>
>> I guess you are right, failover would try the primary and wait for a
>> timeout before attempting the failover address.
>>
>> I was just looking into the hosts file but it doesn't seem like postfix
>> refers to it as I'm getting bounce messages:
>> Host or domain name not found. Name service error for
>> name=smtptest.localhost type=A: Host not found
> 
> You need to enable hosts file lookup:
> 
> smtp_host_lookup = dns, hosts
> 
>       Wietse

Wouldn't it be:

smtp_host_lookup = dns, native

http://www.postfix.org/postconf.5.html#smtp_host_lookup

-Matt

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to