Commits

Zhang Huangbin  committed deff4fe

Add global parameter 'mail_plugins' in dovecot2.conf.

  • Participants
  • Parent commits e867c6b

Comments (0)

Files changed (1)

File iRedMail/samples/dovecot/dovecot2.conf

 listen = *
 
 #base_dir = PH_BASE_DIR
+mail_plugins = quota
 
 # Enabled mail protocols.
 protocols = PH_PROTOCOLS
 
 protocol lda {
     # Reference: http://wiki2.dovecot.org/LDA
-    mail_plugins = quota sieve autocreate
+    mail_plugins = $mail_plugins sieve autocreate
     auth_socket_path = /var/run/dovecot/auth-master
     log_path = /var/log/sieve.log
     lda_mailbox_autocreate = yes
 }
 protocol imap {
     imap_client_workarounds = tb-extra-mailbox-sep
-    mail_plugins = quota imap_quota autocreate
+    mail_plugins = $mail_plugins imap_quota autocreate
 }
 protocol pop3 {
-    mail_plugins = quota
+    mail_plugins = $mail_plugins
     pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
     pop3_uidl_format = %08Xu%08Xv
 }