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

This will force A record lookups using getaddrinfo().

No-one should do this on an Internet-facing SMTP client.

        Wietse

Reply via email to