On Mon, Jul 23, 2012 at 4:27 PM, Wietse Venema <wie...@porcupine.org> wrote:
> Marty Beckler:
>> Transport next hops can have MX lookups disabled by adding [] around
>> the next hop.
>>
>> Is it possible to define a transport that always has MX lookups
>> disabled without specifying the next hop?
>
> /etc/postfix/transport:
>     example.com smtp-no-mx:
>
> /etc/postfix/master.cf:
>     smtp-no-mx      unix  -       -       n       -       -       smtp
>         disable_dns_lookups=yes

I believe this needs a -o in front. Testing shows that it does what I
wanted. Thanks for your help and your great software. We are all
indebted to you.

> This will force A record lookups using getaddrinfo().
>
> No-one should do this on an Internet-facing SMTP client.

Roger!

Reply via email to