* Wietse Venema <wie...@porcupine.org> 2015.01.06 14:35:

> IF you want to use IPv6 address syntax in inet_interfaces or elsewhere,
> 
> THEN you must enable IPv6 protocol support in main.cf or master.cf
> with inet_protocols=all, inet_protocols=ipv4,ipv6, or inet_protocols=ipv6.
> 
> I hope this clarifies that there is no contradiction or inconsistency
> in the manner that Postfix IPv6 protocol support works.
> 
>       Wietse

main.cf:

# postconf -n inet_protocols
inet_protocols = ipv4, ipv6

# postconf -n inet_interfaces
inet_interfaces = 188.138.4.217, 2001:470:1f0b:bd0::3

That's what I had setup from the start. I'm baffled because I can't override it 
in master.cf (referring to the original recipe). By protocol is not enough, I 
*have* to set the interface IPv6 address too:

# postconf -Mf smtp-ipv6
smtp-ipv6  unix  -       -       -       -       -       smtp
    -o smtp_header_checks=pcre:$config_directory/header_checks_smtp_out
    -o inet_protocols=ipv6
    -o inet_interfaces=2001:470:1f0b:bd0::3

If I omit the last line, it fails...

Attachment: signature.asc
Description: Digital signature

Reply via email to