Modified the module to accord with best practices.

This commit is contained in:
Lari Huttunen 2011-04-20 11:42:48 +03:00 committed by Timo Mkinen
parent 3c2f8981f8
commit 2654e6ef77
2 changed files with 32 additions and 18 deletions

View file

@ -1,8 +1,8 @@
protocols = imaps
disable_plaintext_auth = yes
ssl_cert_file = <%= ssl_dir %>/certs/<%= mx_mailname %>.crt
ssl_key_file = <%= ssl_dir %>/private/<%= mx_mailname %>.key
ssl_ca_file = <%= ssl_dir %>/certs/<%= mx_mailname %>.chain.crt
ssl_cert_file = <%= dovecot_ssl_dir %>/certs/<%= dovecot_mx_mailname %>.crt
ssl_key_file = <%= dovecot_ssl_dir %>/private/<%= dovecot_mx_mailname %>.key
ssl_ca_file = <%= dovecot_ssl_dir %>/certs/<%= dovecot_mx_mailname %>.chain.crt
login_chroot = yes
login_user = dovecot
login_max_processes_count = 256
@ -18,7 +18,7 @@ protocol imap {
protocol pop3 {
}
protocol lda {
postmaster_address = postmaster@<%= mail_domain %>
postmaster_address = postmaster@<%= dovecot_mail_domain %>
}
auth default {
mechanisms = plain