From 9a85463cbe781bb6cfee3253c025be17b3223148 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Tue, 3 Dec 2019 12:11:37 +0100 Subject: [PATCH] Rjesava gresku u logu "using backwards-compatible default setting chroot=y" te koristi btree umjesto sdbm. --- debian/changelog | 7 +++++++ debian/postinst | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 48c0260..b9685d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 03 Dec 2019 12:11:31 +0100 + postfix-cn (3.1.8~cn0) stable; urgency=medium * Prva verzija za stretch diff --git a/debian/postinst b/debian/postinst index cf883e1..cadf94c 100755 --- a/debian/postinst +++ b/debian/postinst @@ -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 -- 1.7.10.4