From: Ivan Rako Date: Tue, 3 Dec 2019 11:11:37 +0000 (+0100) Subject: Rjesava gresku u logu "using backwards-compatible default setting chroot=y" te korist... X-Git-Tag: debian/3.1.8_cn1^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=refs%2Fheads%2Fstretch;p=postfix-cn.git Rjesava gresku u logu "using backwards-compatible default setting chroot=y" te koristi btree umjesto sdbm. --- 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