From: Zeljko Boros Date: Wed, 28 Apr 2021 13:59:58 +0000 (+0200) Subject: rijesena poruka 'compatibility mode' za sve servise, newaliases-gecos, dodan eta... X-Git-Tag: debian/3.4.10+cn10u2~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=ced19d88a047a347f52caf1231c1e0fe37be3282;p=postfix-cn.git rijesena poruka 'compatibility mode' za sve servise, newaliases-gecos, dodan eta.cert.hr --- diff --git a/debian/control b/debian/control index 5722afd..77b7e48 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,8 @@ Source: postfix-cn Section: mail Priority: optional -Maintainer: Ivan Rako +Maintainer: Ivan Rako +Uploaders: Zeljko Boros Build-Depends: debhelper (>= 10), po-debconf Standards-Version: 3.9.8 diff --git a/debian/postinst b/debian/postinst index c61af86..818ecff 100755 --- a/debian/postinst +++ b/debian/postinst @@ -384,15 +384,20 @@ rm -f /etc/postfix/main.cf.dpkg-tmp.$$ #fi # kreiraj aliases_gecos -if [ -x /usr/share/postfix-cn/make-aliases-gecos.sh ]; then +if [ -x /usr/sbin/newaliases-gecos ]; then if [ "$matchgecos" = "true" ]; then echo "CN: Creating GECOS alias map..." - /usr/share/postfix-cn/make-aliases-gecos.sh + /usr/sbin/newaliases-gecos fi fi # rjesava gresku using backwards-compatible default setting chroot=y -postconf -F smtp/inet/chroot=y && restart_postfix="yes" + +for service in smtp/inet smtp/unix submission/inet pickup/fifo cleanup/unix qmgr/fifo rewrite/unix bounce/unix defer/unix trace/unix verify/unix flush/unix relay/unix showq/unix error/unix scache/unix discard/unix retry/unix +do + postconf -F $service/chroot=y +done +restart_postfix="yes" # restart if [ "$restart_postfix" = "yes" ]; then diff --git a/debian/templates b/debian/templates index 24c3f82..21ae795 100644 --- a/debian/templates +++ b/debian/templates @@ -1,6 +1,7 @@ Template: postfix-cn/rbl Type: multiselect -Choices: zen.dnsbl-sh.carnet.hr, zen.spamhaus.org, bl.spamcop.net +Choices: zen.dnsbl-sh.carnet.hr, eta.cert.hr, bl.spamcop.net +Default: zen.dnsbl-sh.carnet.hr, eta.cert.hr, bl.spamcop.net _Description: Koje RBL zelite? Postfix moze prilikom provjere primanja e-mail poruka provjeriti da li je posiljatelj zavrsio na nekoj od RBL (Realtime Blackhole List) listi.