From: Giorgio Ravera Date: Wed, 27 Mar 2019 21:53:40 +0000 (+0100) Subject: Added ipv6 IP due to a problem with mailman X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=d298e5a56eb804ddae2724fb05a824d5bc40587b;p=postfix.git Added ipv6 IP due to a problem with mailman --- diff --git a/main.cf b/main.cf index 0612a50..9c2700f 100644 --- 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.