Luigi Rosa: > Is there a way to override smtp_address_preference for a single host (or > domain) to force an IPv4 or IPv6 connection?
/etc/postfix/transport: example.com smtp-ipv4-only: example.net smtp-upv6-only: /etc/postfix/master.cf: smtp-ipv4-only unix - - n - - smtp inet_protocols=ipv4 smtp-ipv6-only unix - - n - - smtp inet_protocols=ipv6 /etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport Execute "postmap hash:/etc/postfix/transport" and "postfix reload" when the transport map is changed. http://www.postfix.org/postconf.5.html#inet_protocols Wietse > I am asking because we are (hopefully even if slowly) approaching to a period > when IPv6 could be adopted not only by SMTP servers with (presumed) skilled > SysAdmin, but also by large organization whith sloppy IPv6 support. > > A sort of tranport map for IPv4/IPv6/any could be useful for: > * force IPv4 connection with bogous IPv4/IPv6 MTAs > * force IPv6 connection for testing purposes > > > > Ciao, > luigi > > -- > / > +--[Luigi Rosa]-- > \ > > Got Mole problems? Call Avogadro 6.02 x 10^23 -- End of PGP signed section, PGP failed!