From 9e86693481263eacc3ee073d74fa4255e6d0cc35 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Sat, 11 Jun 2011 15:35:51 +0200 Subject: [PATCH] dodan mail_location --- debian/changelog | 1 + debian/control | 2 +- debian/postinst | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) 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 -- 1.7.10.4