summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-05 13:44:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-05 13:44:39 -0200
commit93e5172d99d35e1838fe63d49e4300e408f53ff5 (patch)
tree11a203be84ac8366d6e59a088b48e6770a697cd3
parentfb7e79cd6d1c7f0f9a3881e54830a6cb8a4761cb (diff)
downloadpuppet-mail-93e5172d99d35e1838fe63d49e4300e408f53ff5.tar.gz
puppet-mail-93e5172d99d35e1838fe63d49e4300e408f53ff5.tar.bz2
Add comments at dovecot config for wheezy
-rw-r--r--templates/dovecot/dovecot.conf.wheezy.erb12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/dovecot/dovecot.conf.wheezy.erb b/templates/dovecot/dovecot.conf.wheezy.erb
index a4e2ed8..a7ddf06 100644
--- a/templates/dovecot/dovecot.conf.wheezy.erb
+++ b/templates/dovecot/dovecot.conf.wheezy.erb
@@ -1,6 +1,9 @@
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 7.3 ufs
+
+# See http://help.directadmin.com/item.php?id=348
listen = *
+
auth_mechanisms = plain login
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = user=<%%u> method=%m %c
@@ -28,10 +31,17 @@ service auth {
}
user = root
}
+
+# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
+# dropping root privileges, so keep the key file unreadable by anyone but
+# root.
ssl_cert = </etc/ssl/certs/cert.crt
+ssl_key = </etc/ssl/private/cert.pem
+# SSL ciphers to use
+# See http://www.virtualmin.com/node/25057
ssl_cipher_list = HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
-ssl_key = </etc/ssl/private/cert.pem
+
userdb {
args = uid=5000 gid=5000 home=/var/mail/virtual/%u allow_all_users=yes
driver = static