From b9c744428bb57b0c528a7bf0da9892277ecf5af3 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 24 Oct 2013 21:02:20 +0300 Subject: [PATCH] dovecot: Disable plain imap and pop3 protocols by default. --- dovecot/templates/puppet.conf.erb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dovecot/templates/puppet.conf.erb b/dovecot/templates/puppet.conf.erb index 4f332a8..b3ed08f 100644 --- a/dovecot/templates/puppet.conf.erb +++ b/dovecot/templates/puppet.conf.erb @@ -19,3 +19,15 @@ plugin { zlib_save = gz # or bz2 } <% end -%> + +# disable plain text imap and pop3 +service pop3-login { + inet_listener pop3 { + port = 0 + } +} +service imap-login { + inet_listener imap { + port = 0 + } +}