Marius Burkard
2016-07-10 e1ceb050e19c7574bca146a8da7047ee4ff456b5
install/tpl/debian_dovecot2.conf.master
@@ -7,9 +7,14 @@
postmaster_address = postmaster@example.com
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
ssl_protocols = !SSLv2 !SSLv3
mail_max_userip_connections = 100
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
@@ -18,6 +23,7 @@
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve=/var/vmail/%d/%n/.sieve
  sieve_max_redirects = 25
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
@@ -32,9 +38,16 @@
  }
  user = root
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
   group = postfix
   mode = 0600
   user = postfix
  }
}
service imap-login {
  client_limit = 1000
  process_limit = 500
  process_limit = 512
}
protocol imap {
  mail_plugins = quota imap_quota
@@ -45,4 +58,9 @@
}
protocol lda {
  mail_plugins = sieve quota
}
}
protocol lmtp {
  postmaster_address = webmaster@localhost
  mail_plugins = quota sieve
}
mail_plugins = $mail_plugins quota