debian_dovecot2.conf.master 1.25 KB
Newer Older
tbrehm's avatar
tbrehm committed
1
listen = *,[::]
2
protocols = imap pop3 lmtp
3
4
5
6
auth_mechanisms = plain login
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
7
postmaster_address = postmaster@example.com
8
9
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
10
ssl_protocols = !SSLv2 !SSLv3
Marius Cramer's avatar
Marius Cramer committed
11
mail_max_userip_connections = 100
12
13
14
15
16
17
18
19
20
21
22
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
  sieve=/var/vmail/%d/%n/.sieve
Marius Cramer's avatar
Marius Cramer committed
23
  sieve_max_redirects = 25
24
25
26
27
28
29
30
31
32
33
34
35
36
37
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
  user = root
}
38
39
40
41
42
43
44
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
   group = postfix
   mode = 0600
   user = postfix
  }
}
45
46
service imap-login {
  client_limit = 1000
Marius Cramer's avatar
Marius Cramer committed
47
  process_limit = 512
48
}
49
50
51
52
53
54
55
56
57
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
  mail_plugins = quota
}
protocol lda {
  mail_plugins = sieve quota
58
59
60
61
}
protocol lmtp {
  postmaster_address = webmaster@localhost
  mail_plugins = quota sieve
62
}