From: Ivan Rako Date: Thu, 13 Aug 2020 17:22:37 +0000 (+0200) Subject: Merge branch 'master' of merak.carnet.hr:/srv/paketi/carnet-debian/scm/postfix-cn X-Git-Tag: debian/3.4.10+cn10u1~2 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=postfix-cn.git;a=commitdiff_plain;h=e190e2817c53fa6b45bfbff3e579b50022196750;hp=d44d52a09708085dd941ea7cd1d3ba85ad3afbfd Merge branch 'master' of merak.carnet.hr:/srv/paketi/carnet-debian/scm/postfix-cn --- diff --git a/debian/changelog b/debian/changelog index 6fb05ea..20e7866 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,4 @@ +<<<<<<< HEAD postfix-cn (3.4.10~cn0) stable; urgency=medium * Prva verzija za buster @@ -5,6 +6,17 @@ postfix-cn (3.4.10~cn0) stable; urgency=medium -- Ivan Rako Thu, 13 Aug 2020 19:05:45 +0200 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 +>>>>>>> 1185b2ef230939782be3a96949ad7d7dfa738686 * sdbm->btree * rjesava gresku "using backwards-compatible default setting chroot=y" diff --git a/debian/postinst b/debian/postinst index 040623f..c61af86 100755 --- a/debian/postinst +++ b/debian/postinst @@ -115,10 +115,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"