From: Ivan Rako Date: Mon, 16 Feb 2009 17:35:38 +0000 (+0100) Subject: sdb baza je sad u /var/lib/postfix X-Git-Tag: debian/2.7.1-1~13 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=83c59ff2f6f893e986abcec3b8ba20682ec906de;p=postfix-cn.git sdb baza je sad u /var/lib/postfix --- diff --git a/debian/changelog b/debian/changelog index 208822a..e3ea0ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +postfix-cn (2.5.5-2) stable; urgency=medium + + * sdbm baza je sad u /var/lib/postfix + + -- Ivan Rako Mon, 16 Feb 2009 18:34:51 +0100 + postfix-cn (2.5.5-1) stable; urgency=medium * Ovisnost o verziji sa backports.org diff --git a/debian/postinst b/debian/postinst index 0e063bf..868dad4 100755 --- a/debian/postinst +++ b/debian/postinst @@ -281,11 +281,11 @@ fi # TLS stuff postconf -e smtp_use_tls="yes" postconf -e smtp_tls_key_file="\$smtp_tls_cert_file" -postconf -e smtp_tls_session_cache_database="sdbm:/var/spool/postfix/smtp_scache" +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_key_file="\$smtpd_tls_cert_file" -postconf -e smtpd_tls_session_cache_database="sdbm:/var/spool/postfix/smtpd_scache" +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" # ako je postavljen neki drugi certifikat, ne diraj @@ -303,6 +303,11 @@ fi [ -f /etc/postfix/smtp_scache.pag ] && rm -f /etc/postfix/smtp_scache.pag [ -f /etc/postfix/smtpd_scache.dir ] && rm -f /etc/postfix/smtpd_scache.dir [ -f /etc/postfix/smtpd_scache.pag ] && rm -f /etc/postfix/smtpd_scache.pag +# prije bilo u /var/spool/postfix/, od verzije 2.5.5 je u /var/lib/postfix +[ -f /var/spool/postfix/smtp_scache.dir ] && rm -f /var/spool/postfix/smtp_scache.dir +[ -f /var/spool/postfix/smtp_scache.pag ] && rm -f /var/spool/postfix/smtp_scache.pag +[ -f /var/spool/postfix/smtpd_scache.dir ] && rm -f /var/spool/postfix/smtpd_scache.dir +[ -f /var/spool/postfix/smtpd_scache.pag ] && rm -f /var/spool/postfix/smtpd_scache.pag # debconf stop db_go || true