From 7b5a8df7bf52d81674ba8c90a711cfc3678cdf51 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Fri, 20 Dec 2013 13:12:52 +0100 Subject: [PATCH] dodavanje ipv6 localhost adrese u mynetworks --- debian/changelog | 6 ++++++ debian/postinst | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ab58e66..a39e70f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +postfix-cn (2.9.6~cn1) stable; urgency=medium + + * Dodavanje IPv6 localhost adrese u mynetworks + + -- Ivan Rako Fri, 20 Dec 2013 13:12:29 +0100 + postfix-cn (2.9.6~cn0) stable; urgency=medium * Prva verzija za wheezy diff --git a/debian/postinst b/debian/postinst index fe02c15..f59a5df 100755 --- a/debian/postinst +++ b/debian/postinst @@ -81,9 +81,9 @@ postconf -e myorigin="$mailname" postconf -e append_dot_mydomain="yes" postconf -e append_at_myorigin="yes" -# dodaj 127.0.0.0/8 i netaddr +# dodaj 127.0.0.0/8, netaddr i ipv6-localhost mynetworks="`postconf -h mynetworks`" -for i in "127.0.0.0/8" "$netaddr"; do +for i in "127.0.0.0/8" "$netaddr" "[::1]/128"; do if ! echo $mynetworks | grep -q $i; then mynetworks="$mynetworks, $i" fi -- 1.7.10.4