From 37b29231e47a0c4458dc1c15d98588f16f07e1e2 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 06 Aug 2015 03:18:44 -0400 Subject: [PATCH] - don't set password via remoting if field is empty --- install/tpl/debian_dovecot.conf.master | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/install/tpl/debian_dovecot.conf.master b/install/tpl/debian_dovecot.conf.master index d257982..8d60225 100644 --- a/install/tpl/debian_dovecot.conf.master +++ b/install/tpl/debian_dovecot.conf.master @@ -45,6 +45,7 @@ # .. # } #listen = * +listen = *,[::] # Disable LOGIN command and all other plaintext authentications unless # SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP @@ -98,6 +99,9 @@ # root. #ssl_cert_file = /etc/ssl/certs/dovecot.pem #ssl_key_file = /etc/ssl/private/dovecot.pem + +ssl_cert_file = /etc/postfix/smtpd.cert +ssl_key_file = /etc/postfix/smtpd.key # If key file is password protected, give the password here. Alternatively # give it when starting dovecot with -p parameter. @@ -847,7 +851,7 @@ # database (passwd usually), you can use static userdb. # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt> - passdb pam { + # passdb pam { # [blocking=yes] [session=yes] [setcred=yes] # [cache_key=<key>] [<service name>] # @@ -880,7 +884,7 @@ # args = session=yes * # args = cache_key=%u dovecot #args = dovecot - } + # } # System users (NSS, /etc/passwd, or similiar) # In many systems nowadays this uses Name Service Switch, which is @@ -1002,8 +1006,8 @@ # This can be made to work with SQL and LDAP databases, see their example # configuration files for more information how to do it. # <doc/wiki/UserDatabase.Prefetch.txt> - #userdb prefetch { - #} + userdb prefetch { + } # User to use for the process. This user needs access to only user and # password databases, nothing else. Only shadow and pam authentication -- Gitblit v1.9.1