blob: 7c6bca497ddbe25577073ab9eecdf646e142e92e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
## Dovecot configuration file
# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration
# "doveconf -n" command gives a clean output of the changed settings. Use it
# instead of copy&pasting files when posting to the Dovecot mailing list.
# '#' character and everything after it is treated as comments. Extra spaces
# and tabs are ignored. If you want to use either of these explicitly, put the
# value inside quotes, eg.: key = "# char and trailing whitespace "
# Most (but not all) settings can be overridden by different protocols and/or
# source/destination IPs by placing the settings inside sections, for example:
# protocol imap { }, local 127.0.0.1 { }, remote 10.0.0.0/8 { }
protocols = imap
auth_mechanisms = plain
log_path = /dev/stdout
ssl_cert = </etc/certs/ENV_HOSTNAME/fullchain.pem
ssl_key = </etc/certs/ENV_HOSTNAME/key.pem
ssl_dh = </etc/certs/dhparam.pem
# Users defined by the user-configured password file
passdb {
driver = passwd-file
args = /etc/userconfig/passwd
}
userdb {
driver = passwd-file
args = /etc/userconfig/passwd
}
# Provide user authentication service to postfix submission sessions
service auth {
unix_listener /var/spool/postfix/private/auth {
user = postfix
group = postfix
mode = 0660
}
}
# Location for users mailboxes
# %u - username
# %n - user part in user@domain, same as %u if there's no domain
# %d - domain part in user@domain, empty if there's no domain
# %h - home directory
mail_home = /var/mail/vhost/%d/%n
mail_location = maildir:~
|