Closed Mischback closed 1 year ago
inet_interfaces = [PUBLIC IPv6],[::1]
ss -lntp
)inet_interfaces = [Public IPv6],[::1],127.0.0.1
smtp_bind_address6 = [Public IPv6]
ss -lntp
)inet_interfaces = all
smtp_bind_address6 = [Public IPv6]
ss -lntp
)
0.0.0.0:25
, [::]:25
(and for :587
)
Research, evaluate and then document IP address-related settings of
Postfix
.Relevant Settings
inet_interfaces
smtp_bind_address
smtp_bind_address6
smtp_bind_address6
smtp_bind_address_enforce
main.cf.sample
with a clarifying commentinet_protocols
smtp_address_preference
Required Test Cases
inet_interfaces
set to a specific IPinet_interfaces
set to a specific IP +localhost
inet_interfaces
set toall
in combination withsmtp_bind_address6
smtp_bind_address6
used for all outbound connections?!inet_interfaces
set toall
in combination withsmtp_bind_address6
and multiple available IPv6 interfaces.smtp_bind_address_enforce
. I feel like this should be set toyes
.Notes
inet_interfaces
is set to an actual IP address (v4 or v6),Postfix
binds itsself only to that interface (seess -lntp
output)inet_intonly to the specified interfaceserfaces
might be a list, e.g.192.168.100.5, 127.0.0.1, [::1]
inet_interfaces
is set toall
andinet_protocols
is set toipv6
,Postfix
binds itsself to IPv6 interfaces only (seess -lntp
output)Original Issue Statement