To send outgoing mail with postfix for certain domains only over IPv6 or IPv4, only a few changes are required.
The domains are registered in accordance /etc/postfix/transport
examplev4.de smtp-ipv4-only:
examplev6.de 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.
Du hast smtp-ipv4-only doppelt verwendet
–Zitat
smtp-ipv4-only unix – – n – – smtp
-o inet_protocols=ipv4
smtp-ipv4-only unix – – n – – smtp
-o inet_protocols=ipv6
–Zitatende
Untere Zeile das sollte wohl heissen
smtp-ipv6-only unix – – n – – smtp
-o inet_protocols=ipv6
Danke
Pingback: Gmail Problem mit IPv6-Reverse-Record (PTR GoogleMail) - Seite 2 - Howtoforge Forum
Pingback: Mailserver - per Domain eine extra IP - Howtoforge Forum