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 <Ivan.Rako@CARNet.hr>  Tue, 05 Apr 2011 16:27:32 +0200
 
 
 
 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
 
                  '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