From fcd0f0ca90914d6a23592464d61d0ddcbfad7fcc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 24 Mar 2015 09:28:53 +0000 Subject: [PATCH] Ensure that dovecot ssl parameters are secured --- src/freedombone | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone b/src/freedombone index 29e7dd75..8174825d 100755 --- a/src/freedombone +++ b/src/freedombone @@ -5383,10 +5383,16 @@ function configure_imap { chown root:dovecot /etc/ssl/private/dovecot.* sed -i 's|#ssl =.*|ssl = required|g' /etc/dovecot/conf.d/10-ssl.conf + sed -i 's|ssl = no|ssl = required|g' /etc/dovecot/conf.d/10-ssl.conf + sed -i 's|ssl = yes|ssl = required|g' /etc/dovecot/conf.d/10-ssl.conf + sed -i 's|#ssl_cert =.*|ssl_cert = > /etc/dovecot/conf.d/10-ssl.conf sed -i 's/#process_limit =.*/process_limit = 5/g' /etc/dovecot/conf.d/10-master.conf