]> git.giorgioravera.it Git - postfix.git/commitdiff
Added ipv6 IP due to a problem with mailman
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 27 Mar 2019 21:53:40 +0000 (22:53 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 27 Mar 2019 21:53:40 +0000 (22:53 +0100)
main.cf

diff --git a/main.cf b/main.cf
index 0612a50d77a2025646212ac552d85a98a8220cca..9c2700f27cc057a5bc4d7e9292e9974725c7f3bf 100644 (file)
--- a/main.cf
+++ b/main.cf
@@ -1,5 +1,7 @@
 # See /usr/share/postfix/main.cf.dist for a commented, more complete version
 
+compatibility_level = 2
+
 biff = yes
 
 # appending .domain is the MUA's job.
@@ -45,7 +47,7 @@ myorigin = localhost.localdomain
 mydestination = localhost, localhost.localdomain
 #relay_domains = /etc/postfix/ml-domains
 relay_domains = mysql:/etc/postfix/mysql/relay_domains.cf
-mynetworks = 127.0.0.0/8, 192.168.0.0/24, 192.168.2.0/24
+mynetworks = 127.0.0.0/8, [::1]/128, 192.168.0.0/24, 192.168.2.0/24
 inet_protocols = all
 mailbox_command = /usr/bin/procmail -a "$EXTENSION"
 mailbox_size_limit = 512000000
@@ -100,8 +102,8 @@ smtpd_client_restrictions = permit_mynetworks,
        reject_unauth_pipelining,
        reject_unknown_client_hostname,
        reject_rbl_client zen.spamhaus.org,
-#      reject_rbl_client dnsbl.sorbs.net,
-#      reject
+       #reject_rbl_client dnsbl.sorbs.net,
+       #reject
 smtpd_delay_reject = yes
 smtpd_helo_required = yes
 # Don't talk to mail systems that don't know their own hostname.