From b9a3ef486ebcde18a5ade37865ff8f397185d24f Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 24 Jul 2016 05:30:59 -0400
Subject: [PATCH] Fixed #3979 Mailbox users unable to save autoresponders

---
 install/tpl/debian6_dovecot.conf.master |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/install/tpl/debian6_dovecot.conf.master b/install/tpl/debian6_dovecot.conf.master
index 51c6910..4286689 100644
--- a/install/tpl/debian6_dovecot.conf.master
+++ b/install/tpl/debian6_dovecot.conf.master
@@ -1,6 +1,11 @@
+## ISPConfig3 Template file.
+## This file was installed by ISPConfig3
+## It will be replaced if ISPConfig3 is updated.
+
 ## Dovecot configuration file
 base_dir = /var/run/dovecot/
 
+listen = *,[::]
 protocols = imap imaps pop3 pop3s
 disable_plaintext_auth = no
 log_timestamp = "%Y-%m-%d %H:%M:%S "
@@ -8,9 +13,12 @@
 # ssl_cert_file = /etc/ssl/_.my-domain.tld/_.my-domain.tld.crt
 # ssl_key_file = /etc/ssl/_.my-domain.tld/_.my-domain.tld.key
 
+ssl_cert_file = /etc/postfix/smtpd.cert
+ssl_key_file = /etc/postfix/smtpd.key
+
 mail_privileged_group = mail
 
-login_greeting = my-domain.tld IMAP server ready...
+login_greeting = ISPConfig3 IMAP server ready...
 
 ## IMAP specific settings
 protocol imap {
@@ -44,7 +52,11 @@
 
 ## Plugin settings
 plugin {
-  quota = maildir
+  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
+  # Because the mail quota is called in the user query 
+  # the maildir quota does not need to be set.
+  # You do not need: quota = maildir
+
   sieve=/var/vmail/%d/%n/.sieve
 }
 
@@ -55,8 +67,6 @@
 #auth_executable = /usr/lib/dovecot/dovecot-auth
 auth default {
   mechanisms = plain login
-  passdb pam {
-  }
 
   # SQL database <doc/wiki/AuthDatabase.SQL.txt>
   passdb sql {

--
Gitblit v1.9.1