diff options
Diffstat (limited to 'templates')
| -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 %> +} | 
