Browse Source

[Dovecot] Lz4 compression sometimes leads to strange EOF errors when replicating
[Web] Cleanup JSON API

André 7 years ago
parent
commit
0a44ea1a4c
2 changed files with 103 additions and 690 deletions
  1. 2 2
      data/conf/dovecot/dovecot.conf
  2. 101 688
      data/web/json_api.php

+ 2 - 2
data/conf/dovecot/dovecot.conf

@@ -285,8 +285,8 @@ plugin {
   #mail_crypt_global_private_key = </mail_crypt/ecprivkey.pem
   #mail_crypt_global_private_key = </mail_crypt/ecprivkey.pem
   #mail_crypt_global_public_key = </mail_crypt/ecpubkey.pem
   #mail_crypt_global_public_key = </mail_crypt/ecpubkey.pem
   #mail_crypt_save_version = 2
   #mail_crypt_save_version = 2
-  # Enable compression while saving, lz4 Dovecot v2.2.11+
-  zlib_save = lz4
+  # Enable compression while saving
+  zlib_save = gz
 }
 }
 dict {
 dict {
   sqlquota = mysql:/usr/local/etc/dovecot/sql/dovecot-dict-sql-quota.conf
   sqlquota = mysql:/usr/local/etc/dovecot/sql/dovecot-dict-sql-quota.conf

File diff suppressed because it is too large
+ 101 - 688
data/web/json_api.php


Some files were not shown because too many files changed in this diff