fedora_dovecot2.conf.master 3.14 KB
Newer Older
Thom's avatar
Thom committed
1
2
3
# Do not change this file, as changes will be overwritten by any ISPConfig update.
# Put your custom settings in /usr/local/ispconfig/server/conf-custom/install/dovecot_custom.conf.master.
# To start using those changes, do a force upgrade and let it reconfigure your services. (ispconfig_update.sh --force)
tbrehm's avatar
tbrehm committed
4
listen = *,[::]
5
protocols = imap pop3
6
7
8
9
10
11
auth_mechanisms = plain login
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
Thom's avatar
Thom committed
12
13
14
ssl_min_protocol = TLSv1.2
ssl_cipher_list = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
ssl_prefer_server_ciphers = no
Jesse Norell's avatar
Jesse Norell committed
15
mail_plugins = quota
16
17
18
19
passdb {
  args = /etc/dovecot-sql.conf
  driver = sql
}
20
21
22
userdb {
  driver = prefetch
}
23
24
25
26
27
28
userdb {
  args = /etc/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = dict:user::file:/var/vmail/%d/%n/.quotausage
29
30

  # no longer needed, as 'sieve' is in userdb extra fields:
31
  sieve=/var/vmail/%d/%n/.sieve
32

33
  sieve_before=/var/vmail/%d/%n/.ispconfig-before.sieve
34
  sieve_after=/var/vmail/%d/%n/.ispconfig.sieve
35
36
37
  sieve_max_script_size = 2M
  sieve_max_actions = 100
  sieve_max_redirects = 25
38
39
40
41
42
43
44
45
46
47
48
49
50
51
}
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
}
52
53
54
55
56
57
58
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
   group = postfix
   mode = 0600
   user = postfix
  }
}
59
lmtp_rcpt_check_quota = yes
60
61
62
63
service imap-login {
  client_limit = 1000
  process_limit = 500
}
64
protocol imap {
65
  mail_plugins = $mail_plugins quota imap_quota
66
  auth_verbose = yes
67
68
69
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
70
  mail_plugins = $mail_plugins quota
71
  auth_verbose = yes
72
73
}
protocol lda {
74
  mail_plugins = $mail_plugins sieve quota
Till Brehm's avatar
Till Brehm committed
75
  postmaster_address = root@localhost
76
77
78
}
protocol lmtp {
  postmaster_address = webmaster@localhost
79
  mail_plugins = $mail_plugins quota sieve
80
}
81
82
83
84
85
86
87

#2.3+ service stats {
#2.3+     unix_listener stats-reader {
#2.3+         user = vmail
#2.3+         group = vmail
#2.3+         mode = 0660
#2.3+     }
88
#2.3+
89
90
91
92
93
94
#2.3+     unix_listener stats-writer {
#2.3+         user = vmail
#2.3+         group = vmail
#2.3+         mode = 0660
#2.3+     }
#2.3+ }
Jesse Norell's avatar
Jesse Norell committed
95

96
97
service quota-status {
  executable = quota-status -p postfix
98
99
100
101
  unix_listener /var/spool/postfix/private/quota-status {
    group = postfix
    mode = 0660
    user = postfix
102
103
104
105
106
107
108
109
110
  }
  client_limit = 1
}
plugin {
  quota_status_success = DUNNO
  quota_status_nouser = DUNNO
  quota_status_overquota = "552 5.2.2 Mailbox is full"
}

Thom's avatar
Thom committed
111
imap_capability=+SPECIAL-USE XLIST
Jesse Norell's avatar
Jesse Norell committed
112
113
namespace inbox {
  inbox = yes
114
  separator = .
Jesse Norell's avatar
Jesse Norell committed
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
}
131
132

!include_try conf.d/99-ispconfig-custom-config.conf