xref: /PHP-8.1/ext/imap/tests/setup/dovecot.conf (revision a80a0298)
1# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
2# Pigeonhole version 0.4.21 (92477967)
3listen = *, ::
4
5# For SSL need to setup a certificate
6# See https://wiki.dovecot.org/SSL/DovecotConfiguration
7ssl = no
8
9# Disable plaintext to prevent a warning at each login
10disable_plaintext_auth = yes
11
12auth_mechanisms = cram-md5
13auth_username_format = %u
14auth_verbose = yes
15auth_debug = yes
16auth_failure_delay = 1secs
17
18# This need dovecot 2.3.12.
19# login_proxy_timeout = 500milliseconds
20# ^ This would allow to kill login processes early, but needs testing. So would use v instead
21# login_proxy_timeout = 5s
22# There is a 1 second delay between each reconnection attempt.
23# https://doc.dovecot.org/settings/core/#login-proxy-max-reconnects
24# This need dovecot 2.3.12.
25# login_proxy_max_reconnects = 3
26
27# Log config
28log_path = /var/log/dovecot.log
29# If not set, use the value from log_path
30info_log_path = /var/log/dovecot-info.log
31# If not set, use the value from info_log_path
32debug_log_path = /var/log/dovecot-debug.log
33## Mailbox locations and namespaces
34mail_location = maildir:/var/vmail/dovecot/mail/%d/%n/Maildir
35passdb {
36  args = scheme=cram-md5 /etc/dovecot/dovecotpass
37  driver = passwd-file
38}
39protocols = imap
40service auth {
41  user = root
42}
43userdb {
44  args = /etc/dovecot/dovecotpass
45  driver = passwd-file
46  override_fields = home=/var/vmail/dovecot/mail/%d/%n
47}
48