From 91ab50e59088ab2c691fa57fbe4f126fc9dad0d0 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 23 Jan 2018 16:32:39 +0100 Subject: [PATCH] Change 'mail_max_userip_connections' to 24 for pop3 connections. --- install_update_dovecot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_update_dovecot.sh b/install_update_dovecot.sh index 7b89d06..2ad0007 100755 --- a/install_update_dovecot.sh +++ b/install_update_dovecot.sh @@ -1634,14 +1634,14 @@ fi ## - ## - ssl_cert = <$pop_cert ## - ssl_key = <$pop_key -## - mail_max_userip_connections = 10 +## - mail_max_userip_connections = 24 ## - pop3_client_workarounds = outlook-no-nuls oe-ns-eoh ## - _failed=false echononl "\tAdjusting file 20-pop3.conf" perl -i.ORIG -n -p -e "s#^([ ]*)\#?\ ?(protocol pop3 \{)#\1\2\n\n\1 ssl_cert = <$pop_cert\n\1 ssl_key = <$pop_key\n#g" \ /usr/local/dovecot-${_version}/etc/dovecot/conf.d/20-pop3.conf || _failed=true -perl -i -n -p -e "s#^([ ]*)\#?\ ?(mail_max_userip_connections\ +=.*)#\1\#\# \2\n\1mail_max_userip_connections = 10#g" \ +perl -i -n -p -e "s#^([ ]*)\#?\ ?(mail_max_userip_connections\ +=.*)#\1\#\# \2\n\1mail_max_userip_connections = 24#g" \ /usr/local/dovecot-${_version}/etc/dovecot/conf.d/20-pop3.conf || _failed=true perl -i -n -p -e "s#^([ ]*)\#?\ ?(pop3_client_workarounds\ +=.*)#\1\#\# \2\n\1pop3_client_workarounds = outlook-no-nuls oe-ns-eoh#g" \ /usr/local/dovecot-${_version}/etc/dovecot/conf.d/20-pop3.conf || _failed=true