Skip to content
Snippets Groups Projects
Commit 34764638 authored by ale's avatar ale
Browse files

Add a variable to disable IPv6 on outbound Postfix

parent 40875dae
No related branches found
No related tags found
No related merge requests found
......@@ -159,3 +159,13 @@ $ postmulti -i postfix-out -x mailq
for a specific instance. Check the *postmulti(1)* man page for further
details.
## Disabling outbound IPv6 on a host
Sometimes there are problems with reverse IPv6 DNS resolution of one
of our public MX addresses. In this case outbound email might be
refused by most email servers that do a reverse DNS check of the EHLO
name. The solution is to set the special host variable
*postfix_out_inet_protocols* on the specific server (in the
inventory file) to the value "ipv4".
......@@ -16,7 +16,7 @@ smtpd_client_event_limit_exceptions = $mynetworks
# "secondary IP personality" configuration.
smtp_bind_address = 0.0.0.0
smtp_bind_address6 = ::
inet_protocols = all
inet_protocols = {{ postfix_out_inet_protocols | default('all') }}
# All header rewriting happens upstream.
local_header_rewrite_clients =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment