diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-01-05 12:59:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-01-05 12:59:35 -0200 |
commit | 57945222ee57ca1ba08ded0b8e9e569e5e477f15 (patch) | |
tree | f5b521d404e8f76bfb85a52df8aef76020b06704 | |
parent | 0386ce64d8372bcfafb697559adaeb027c49e4d7 (diff) | |
download | puppet-mail-57945222ee57ca1ba08ded0b8e9e569e5e477f15.tar.gz puppet-mail-57945222ee57ca1ba08ded0b8e9e569e5e477f15.tar.bz2 |
Adding dovecot config for wheezy
-rw-r--r-- | templates/dovecot/dovecot.conf.wheezy.erb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/templates/dovecot/dovecot.conf.wheezy.erb b/templates/dovecot/dovecot.conf.wheezy.erb new file mode 100644 index 0000000..cf23da8 --- /dev/null +++ b/templates/dovecot/dovecot.conf.wheezy.erb @@ -0,0 +1,50 @@ +# 2.1.7: /etc/dovecot/dovecot.conf +# OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 7.3 ufs +listen = * +auth_mechanisms = plain login +log_timestamp = "%Y-%m-%d %H:%M:%S " +login_log_format_elements = user=<%u> method=%m %c +mail_location = maildir:/var/mail/virtual/%u +mail_privileged_group = mail +passdb { + args = /etc/dovecot/dovecot-sql.conf + driver = sql +} +plugin { + sieve = ~/.dovecot.sieve + sieve_storage = ~/sieve +} +protocols = imap +service auth { + unix_listener /var/spool/postfix/private/auth { + group = postfix + mode = 0660 + user = postfix + } + unix_listener auth-master { + group = mail + mode = 0600 + user = vmail + } + user = root +} +ssl_cert = </etc/ssl/certs/cert.crt + +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 +} +userdb { + args = /etc/dovecot/dovecot-sql.conf + driver = sql +} +protocol pop3 { + pop3_uidl_format = %08Xu%08Xv +} +protocol lda { + auth_socket_path = /var/run/dovecot/auth-master + mail_plugins = sieve + postmaster_address = postmaster@<%= fqdn %> +} |