From 649b03d72aa5599e05eabc8fe4e62c2dba58745f Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 23 Feb 2017 16:12:42 +0100 Subject: [PATCH] postfix master.cf: listen on all addresses For multi stack support. --- templates/master.cf.in | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/templates/master.cf.in b/templates/master.cf.in index f739421..038c3e6 100644 --- a/templates/master.cf.in +++ b/templates/master.cf.in @@ -77,27 +77,21 @@ scan unix - - n - [% pmg.mail.max_filters %] -o lmtp_connection_cache_on_demand=no -o disable_dns_lookups=yes -[% IF ipconfig.int_ip %] -[% ipconfig.int_ip %]:[% ipconfig.int_port %] inet n - - - [% pmg.mail.max_smtpd_out %] smtpd +[% ipconfig.int_port %] inet n - - - [% pmg.mail.max_smtpd_out %] smtpd -o content_filter=scan:127.0.0.1:10023 -o smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_tls_security_level=none -[% END %] -[% IF ipconfig.int_ip %] -[% ipconfig.int_ip %]:[% ipconfig.ext_port %] inet n - - - 1 postscreen -[% END %] +[% ipconfig.ext_port %] inet n - - - 1 postscreen -[% IF ipconfig.int_ip %] smtpd pass - - - - [% pmg.mail.max_smtpd_in %] smtpd -o content_filter=scan:127.0.0.1:10024 -o receive_override_options=no_address_mappings -o smtpd_discard_ehlo_keywords=silent-discard,dsn -o mynetworks=127.0.0.0/8,[% ipconfig.int_ip %] -[% END %] 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -- 2.39.5