projects
/
dovecot-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10:
[dovecot-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
bf3300e
..
fdb0e9b
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-20,21
+20,28
@@
cp_check_and_sed 'disable_plaintext_auth.*yes' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed '#imap_client_workarounds' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed '#imap_client_workarounds' \
- 's/#imap_client_workarounds/client_workarounds/g' \
+ 's/#imap_client_workarounds/imap_client_workarounds/g' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed '#pop3_client_workarounds' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed '#pop3_client_workarounds' \
- 's/#pop3_client_workarounds/client_workarounds/g' \
+ 's/#pop3_client_workarounds/pop3_client_workarounds/g' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed 'imap_client_workarounds' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed 'imap_client_workarounds' \
- 's/imap_client_workarounds.*$/client_workarounds = outlook-idle tb-extra-mailbox-sep netscape-eoh delay -newmail/g' \
+ 's/imap_client_workarounds.*$/imap_client_workarounds = outlook-idle tb-extra-mailbox-sep netscape-eoh delay -newmail/g' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed 'pop3_client_workarounds' \
/etc/dovecot/dovecot.conf || true
cp_check_and_sed 'pop3_client_workarounds' \
- 's/pop3_client_workarounds.*$/client_workarounds = outlook-no-nuls oe-ns-eoh/g' \
+ 's/pop3_client_workarounds.*$/pop3_client_workarounds = outlook-no-nuls oe-ns-eoh/g' \
/etc/dovecot/dovecot.conf || true
/etc/dovecot/dovecot.conf || true
+cp_check_and_sed 'pop3_uidl_format' \
+ 's/pop3_uidl_format.*$/pop3_uidl_format = %v.%u/g' \
+ /etc/dovecot/dovecot.conf || true
+
+cp_check_and_sed '#quota = maildir' \
+ 's/#quota = maildir/quota = fs/g' \
+ /etc/dovecot/dovecot.conf || true
# restart
if [ -x /usr/sbin/invoke-rc.d ]; then
# restart
if [ -x /usr/sbin/invoke-rc.d ]; then