]> git.proxmox.com Git - pmg-api.git/commitdiff
postfix master.cf: listen on all addresses
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Feb 2017 15:12:42 +0000 (16:12 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Feb 2017 15:12:42 +0000 (16:12 +0100)
For multi stack support.

templates/master.cf.in

index f73942119ca736cb9f42945214fc725f4b67b723..038c3e6036ad0f85fc60c152e48174fd4cd02cd8 100644 (file)
@@ -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=