Manuel Bieling:
> On 2013.10.07 13:23:59 +0200, Andreas Herrmann wrote:
> > Hi there,
> >
> > On 10/01/13 07:22, Dominik George wrote:
> > > Yes, I also face that issue and have forced IPv4 on known Google domains.
> >
> > I also have those problems.
> >
> > Is there an easy way in postfix the transport to some doamins just over
> > IPv4 and not IPv6?
>
> Wietse explained this a few weeks ago:
And here is the corrected example in one place. BTW it seems the
real fix is to set up one PTR record, with a matching AAAA record.
/etc/postfix/transport:
example.com smtp-ipv4-only:
example.net smtp-ipv6-only:
/etc/postfix/master.cf:
smtp-ipv4-only unix - - n - - smtp
-o inet_protocols=ipv4
smtp-ipv6-only unix - - n - - smtp
-o inet_protocols=ipv6
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
Execute "postmap hash:/etc/postfix/transport" and "postfix reload"
after changing the transport map or master.cf.
References:
http://www.postfix.org/postconf.5.html#inet_protocols
http://www.postfix.org/transport.5.html
Wietse