X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=fe02c1534dc50fd1de4e7d23f29619325743eb2d;hb=c18ccf295b02b5ab918b983f2e651de97e58c7ba;hp=dd617e12859e48fa15846715fd2ce32e4f6ecbc4;hpb=ac077435805efa4c4d9e4880b5dd452a7a53c350;p=postfix-cn.git diff --git a/debian/postinst b/debian/postinst index dd617e1..fe02c15 100755 --- a/debian/postinst +++ b/debian/postinst @@ -31,6 +31,17 @@ if echo $rbl | grep -q opm.blitzed.org; then db_set postfix-cn/rbl "$rbl" || true fi +# Wed, 12 Jun 2013 15:15:28 +0200 +# dnsbl.njabl.org je ugasen 2013-03 +if echo $rbl | grep -q dnsbl.njabl.org; then + rbl="`echo $rbl | sed 's/dnsbl.njabl.org, //g'`" + # za svaki slucaj, ako je na kraju + rbl="`echo $rbl | sed 's/dnsbl.njabl.org//g'`" + db_set postfix-cn/rbl "$rbl" || true +fi + +db_get postfix-cn/matchgecos || true + db_get postfix-cn/matchgecos || true matchgecos="$RET" @@ -248,10 +259,10 @@ if [ "$restart_saslauthd" = "yes" ]; then fi # TLS stuff -postconf -e smtp_use_tls="yes" +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_timeout="3600s" -postconf -e smtpd_use_tls="yes" +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_timeout="3600s" postconf -e tls_random_source="dev:/dev/urandom" @@ -359,3 +370,5 @@ if [ "$restart_postfix" = "yes" ]; then fi fi cp_mail postfix-cn + +#DEBHELPER#