X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=cadf94cb17d663d8fe9d35569584c80af8790ead;hb=refs%2Fheads%2Fstretch;hp=cf883e146c44cd63fa187d5cd62ebb09459a296e;hpb=04407e16b48e6889e4969503ddd479f9ebde1929;p=postfix-cn.git 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