Increase limits

This commit is contained in:
Bob Mottram 2016-11-14 11:06:55 +00:00
parent ad18954f7f
commit cac626a86f
1 changed files with 2 additions and 2 deletions

View File

@ -1311,8 +1311,8 @@ function configure_imap {
exit 49259 exit 49259
fi fi
sed -i 's/#process_limit =.*/process_limit = 100/g' /etc/dovecot/conf.d/10-master.conf sed -i 's/#process_limit =.*/process_limit = 100/g' /etc/dovecot/conf.d/10-master.conf
sed -i 's/#default_client_limit.*/default_client_limit = 100/g' /etc/dovecot/conf.d/10-master.conf sed -i 's/#default_client_limit.*/default_client_limit = 300/g' /etc/dovecot/conf.d/10-master.conf
sed -i 's|#default_process_limit =.*|default_process_limit = 100|g' /etc/dovecot/conf.d/10-master.conf sed -i 's|#default_process_limit =.*|default_process_limit = 300|g' /etc/dovecot/conf.d/10-master.conf
if [ ! -f /etc/dovecot/conf.d/10-logging.conf ]; then if [ ! -f /etc/dovecot/conf.d/10-logging.conf ]; then
echo $'Unable to find /etc/dovecot/conf.d/10-logging.conf' echo $'Unable to find /etc/dovecot/conf.d/10-logging.conf'