Following a recipe for selective transports on this list I have added a transport map to a server with IPv4 *and* IPv6 interfaces.
# postconf mail_version mail_version = 2.11.3 # postconf -n | grep inet inet_interfaces = 188.138.4.217, 2001:470:1f0b:bd0::3 inet_protocols = ipv4, ipv6 # postconf -n transport_maps transport_maps = lmdb:$config_directory/transport # cat /etc/postfix/transport gmail.com smtp-ipv6: googlemail.com smtp-ipv6: $ postconf -Mf smtp-ipv6 smtp-ipv6 unix - - - - - smtp -o smtp_header_checks=pcre:$config_directory/header_checks_smtp_out -o inet_protocols=ipv6 Unlike the original recipe http://postfix.1071664.n5.nabble.com/smtp-IPv4-IPv6-map-td61342.html, the transport fails with _only_ 'inet_protocols=ipv6' (or ipv4 for the same reason) passed: Jan 6 10:05:54 nihlus postfix/smtp[47968]: fatal: config variable inet_interfaces: host not found: [2001:470:1f0b:bd0::3] Jan 6 10:05:55 nihlus postfix/master[47938]: warning: process /usr/lib/postfix/smtp pid 47968 exit status 1 Jan 6 10:05:55 nihlus postfix/master[47938]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling I had to explicitly add the IP as an option for it to succeed: -o inet_interfaces=2001:470:1f0b:bd0::3 Jan 6 10:33:45 nihlus postfix/smtp[49669]: Untrusted TLS connection established to gmail-smtp-in.l.google.com[2a00:1450:4013:c00::1a]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Am I missing something in this scenario? Regards Thomas
signature.asc
Description: Digital signature