rijesena poruka 'compatibility mode' za sve servise, newaliases-gecos, dodan eta...
authorZeljko Boros <Zeljko.Boros@carnet.hr>
Wed, 28 Apr 2021 13:59:58 +0000 (15:59 +0200)
committerZeljko Boros <Zeljko.Boros@carnet.hr>
Wed, 28 Apr 2021 13:59:58 +0000 (15:59 +0200)
debian/control
debian/postinst
debian/templates

index 5722afd..77b7e48 100644 (file)
@@ -1,7 +1,8 @@
 Source: postfix-cn
 Section: mail
 Priority: optional
-Maintainer: Ivan Rako <Ivan.Rako@CARNET.hr>
+Maintainer: Ivan Rako <Ivan.Rako@carnet.hr>
+Uploaders: Zeljko Boros <Zeljko.Boros@carnet.hr>
 Build-Depends: debhelper (>= 10), po-debconf
 Standards-Version: 3.9.8
 
index c61af86..818ecff 100755 (executable)
@@ -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
index 24c3f82..21ae795 100644 (file)
@@ -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.