From: Ivan Rako Date: Sat, 11 Jun 2011 13:35:51 +0000 (+0200) Subject: dodan mail_location X-Git-Tag: debian/1.2.15-1^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=9e86693481263eacc3ee073d74fa4255e6d0cc35;p=dovecot-cn.git dodan mail_location --- diff --git a/debian/changelog b/debian/changelog index c67043b..20cd8d5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ dovecot-cn (1:1.2.15-1) stable; urgency=medium * Prvo izdanje za squeeze + * U verziji 1.2 je potrebno postaviti mail_location -- Ivan Rako Tue, 05 Apr 2011 16:27:32 +0200 diff --git a/debian/control b/debian/control index 9232765..32bf68e 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.6.1 Package: dovecot-cn Architecture: all -Depends: dovecot-common (>= 1:1.0.15-2.3), dovecot-imapd (>= 1:1.0.15-2.3), dovecot-pop3d (>= 1:1.0.15-2.3) +Depends: dovecot-common (>= 1:1.2.15), dovecot-imapd (>= 1:1.2.15), dovecot-pop3d (>= 1:1.2.15) Description: secure mail server that supports mbox and maildir mailboxes Dovecot is a mail server whose major goals are security and extreme reliability. It tries very hard to handle all error conditions and verify diff --git a/debian/postinst b/debian/postinst index 1bdbdfa..1eda240 100755 --- a/debian/postinst +++ b/debian/postinst @@ -52,6 +52,11 @@ cp_check_and_sed '#ssl_cipher_list' \ 's/#ssl_cipher_list.*/ssl_cipher_list = ALL:!aNULL:!eNULL:!ADH!LOW:!MEDIUM:!EXP:!SSLv2:HIGH/g' \ /etc/dovecot/dovecot.conf || true +# ovo je potrebno postaviti u verziji 1.2 +cp_check_and_sed '#mail_location' \ + 's|#mail_location.*|mail_location=mbox:~/mail:INBOX=/var/mail/%u|g' \ + /etc/dovecot/dovecot.conf || true + # restart if [ -x /usr/sbin/invoke-rc.d ]; then