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 + } +}