Rjesava gresku u logu "using backwards-compatible default setting chroot=y" te korist... stretch debian/3.1.8_cn1
authorIvan Rako <ivan.rako@srce.hr>
Tue, 3 Dec 2019 11:11:37 +0000 (12:11 +0100)
committerIvan Rako <ivan.rako@srce.hr>
Tue, 3 Dec 2019 11:11:37 +0000 (12:11 +0100)
debian/changelog
debian/postinst

index 48c0260..b9685d7 100644 (file)
@@ -1,3 +1,10 @@
+postfix-cn (3.1.8~cn1) stable; urgency=medium
+
+  * sdbm->btree
+  * rjesava gresku "using backwards-compatible default setting chroot=y"
+
+ -- Ivan Rako <Ivan.Rako@CARNet.hr>  Tue, 03 Dec 2019 12:11:31 +0100
+
 postfix-cn (3.1.8~cn0) stable; urgency=medium
 
   * Prva verzija za stretch
index cf883e1..cadf94c 100755 (executable)
@@ -281,10 +281,10 @@ fi
 
 # TLS stuff
 postconf -e smtp_tls_security_level="may"
-postconf -e smtp_tls_session_cache_database="sdbm:/var/lib/postfix/smtp_scache"
+postconf -e smtp_tls_session_cache_database="btree:/var/lib/postfix/smtp_scache"
 postconf -e smtp_tls_session_cache_timeout="3600s"
 postconf -e smtpd_tls_security_level="may"
-postconf -e smtpd_tls_session_cache_database="sdbm:/var/lib/postfix/smtpd_scache"
+postconf -e smtpd_tls_session_cache_database="btree:/var/lib/postfix/smtpd_scache"
 postconf -e smtpd_tls_session_cache_timeout="3600s"
 postconf -e tls_random_source="dev:/dev/urandom"
 postconf -e smtpd_tls_exclude_ciphers="aNULL"
@@ -382,6 +382,9 @@ if [ -x /usr/share/postfix-cn/make-aliases-gecos.sh ]; then
   fi
 fi
 
+# rjesava gresku using backwards-compatible default setting chroot=y
+postconf -F smtp/inet/chroot=y && restart_postfix="yes"
+
 # restart 
 if [ "$restart_postfix" = "yes" ]; then
   service postfix restart