From 1185b2ef230939782be3a96949ad7d7dfa738686 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Wed, 5 Feb 2020 15:54:08 +0100 Subject: [PATCH] Dodaje servere za webmail u mynetwork, fix za dupliciranje IPv6 localhost adrese --- debian/changelog | 10 +++++++++- debian/postinst | 5 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index b9685d7..7a80985 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,12 @@ -postfix-cn (3.1.8~cn1) stable; urgency=medium +postfix-cn (3.1.8~cn2) stable; urgency=medium + + * Non-maintainer upload. + * Dodaje izlazne poslužitelje za webmail u mynetworks (193.198.233.{95,96}) + * Popravak greške kada duplicira unos "[::1]/128" + + -- Zeljko Boros Wed, 05 Feb 2020 15:27:43 +0100 + +ppostfix-cn (3.1.8~cn1) stable; urgency=medium * sdbm->btree * rjesava gresku "using backwards-compatible default setting chroot=y" diff --git a/debian/postinst b/debian/postinst index cadf94c..cde2e48 100755 --- a/debian/postinst +++ b/debian/postinst @@ -107,10 +107,11 @@ postconf -e append_dot_mydomain="yes" postconf -e append_at_myorigin="yes" # dodaj 127.0.0.0/8, netaddr i ipv6-localhost +# dodaje izlazne servere za webmail --zelja mynetworks="`postconf -h mynetworks`" -for i in "127.0.0.0/8" "$netaddr" "[::1]/128"; do +for i in "127.0.0.0/8" "\[::1\]/128" "$netaddr" "193.198.233.95" "193.198.233.96"; do if ! echo $mynetworks | grep -q $i; then - mynetworks="$mynetworks $i" + mynetworks="$mynetworks, $i" fi done postconf -e mynetworks="$mynetworks" -- 1.7.10.4