From: Ivan Rako Date: Fri, 20 Dec 2013 12:12:52 +0000 (+0100) Subject: dodavanje ipv6 localhost adrese u mynetworks X-Git-Tag: debian/2.9.6_cn1~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=7b5a8df7bf52d81674ba8c90a711cfc3678cdf51;p=postfix-cn.git dodavanje ipv6 localhost adrese u mynetworks --- 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