From 48950c1ea09c4c7b235cfb5b40d4d6a9cfa50496 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 30 Oct 2014 08:11:10 +0000 Subject: [PATCH] imap limits --- install-freedombone.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 2a3080eb..fab85b93 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -2181,6 +2181,8 @@ function configure_imap { sed -i 's/#ssl_prefer_server_ciphers = no/ssl_prefer_server_ciphers = yes/g' /etc/dovecot/conf.d/10-ssl.conf echo "ssl_cipher_list = '$SSL_CIPHERS'" >> /etc/dovecot/conf.d/10-ssl.conf + sed -i 's/#process_limit = 1024/process_limit = 5/g' /etc/dovecot/conf.d/10-master.conf + sed -i 's/#default_client_limit = 1000/default_client_limit = 5/g' /etc/dovecot/conf.d/10-master.conf sed -i 's/#auth_verbose = no/auth_verbose = yes/g' /etc/dovecot/conf.d/10-logging.conf @@ -2188,6 +2190,7 @@ function configure_imap { sed -i 's/#disable_plaintext_auth = yes/disable_plaintext_auth = no/g' /etc/dovecot/conf.d/10-auth.conf sed -i 's/auth_mechanisms = plain/auth_mechanisms = plain login/g' /etc/dovecot/conf.d/10-auth.conf sed -i 's|mail_location = mbox:~/mail:INBOX=/var/mail/%u|mail_location = maildir:~/Maildir:LAYOUT=fs|g' /etc/dovecot/conf.d/10-mail.conf + service dovecot restart echo 'configure_imap' >> $COMPLETION_FILE }