backports
[dovecot-cn.git] / debian / postinst
index 554e44b..60e38cc 100755 (executable)
@@ -43,6 +43,12 @@ cp_check_and_sed '#quota = maildir' \
                  's/#quota = maildir/quota = fs/g' \
                 /etc/dovecot/dovecot.conf || true
 
+# dodano zbog backward compatibility (etch->lenny)
+cp_check_and_sed 'mail_extra_groups' \
+                 's/mail_extra_groups/mail_privileged_group/g' \
+                /etc/dovecot/dovecot.conf || true
+
+
 # restart 
 if [ -x /usr/sbin/invoke-rc.d ]; then
   [ -x /etc/init.d/dovecot ] && invoke-rc.d dovecot restart