author | Pascal Volk <user@localhost.localdomain.org> |
Sun, 21 Nov 2021 21:27:53 +0000 | |
branch | v0.7.x |
changeset 759 | 2a23083e2ea3 |
parent 732 | fae6a42add07 |
permissions | -rw-r--r-- |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
1 |
# This document contains a minimal configuration for a vmm setup with |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
2 |
# Dovecot v2.x. |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
3 |
# |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
4 |
# You could save this file as local.conf in the dovecot configuration directory |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
5 |
# (commonly /etc/dovecot or /usr/local/etc/dovecot). |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
6 |
# When you want to use this file as your configuration file for Dovecot, make |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
7 |
# sure you have commented out the line "!include conf.d/*.conf". The last line |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
8 |
# "!include_try local.conf" is sufficient. |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
9 |
# |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
10 |
# Otherwise you have to apply the following settings to the configuration files |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
11 |
# in the conf.d directory. |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
12 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
13 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
14 |
# dovecot.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
15 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
16 |
protocols = imap lmtp |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
17 |
# uncomment if your users should be able to manage their sieve scripts |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
18 |
#protocols = imap lmtp sieve |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
19 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
20 |
# uncomment if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
21 |
#dict { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
22 |
# quota = pgsql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
23 |
#} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
24 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
25 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
26 |
# conf.d/10-auth.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
27 |
### |
732
fae6a42add07
Added a note about the usage of CRAM-MD5.
Pascal Volk <user@localhost.localdomain.org>
parents:
632
diff
changeset
|
28 |
# When you set another misc.password_scheme than PLAIN or CRAM-MD5 in |
fae6a42add07
Added a note about the usage of CRAM-MD5.
Pascal Volk <user@localhost.localdomain.org>
parents:
632
diff
changeset
|
29 |
# your vmm.cfg, you have to remove cram-md5 from the auth_mechanisms |
fae6a42add07
Added a note about the usage of CRAM-MD5.
Pascal Volk <user@localhost.localdomain.org>
parents:
632
diff
changeset
|
30 |
# setting. |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
31 |
auth_mechanisms = plain login cram-md5 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
32 |
passdb { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
33 |
driver = sql |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
34 |
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
35 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
36 |
userdb { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
37 |
driver = sql |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
38 |
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
39 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
40 |
#!include auth-system.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
41 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
42 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
43 |
# conf.d/10-mail.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
44 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
45 |
first_valid_gid = 70000 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
46 |
first_valid_uid = 70000 |
564
55148bc6348e
INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents:
562
diff
changeset
|
47 |
mail_access_groups = dovemail |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
48 |
mail_location = maildir:~/Maildir |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
49 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
50 |
# uncomment if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
51 |
#mail_plugins = quota |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
52 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
53 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
54 |
# conf.d/10-master.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
55 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
56 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
57 |
# if you don't want to use secure imap, you have to disable the imaps listener |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
58 |
##service imap-login { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
59 |
## inet_listener imaps { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
60 |
## port = 0 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
61 |
## } |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
62 |
##} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
63 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
64 |
service lmtp { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
65 |
unix_listener /var/spool/postfix/private/dovecot-lmtp { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
66 |
user = postfix |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
67 |
group = postfix |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
68 |
mode = 0600 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
69 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
70 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
71 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
72 |
service auth { |
564
55148bc6348e
INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents:
562
diff
changeset
|
73 |
user = doveauth |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
74 |
unix_listener auth-userdb { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
75 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
76 |
unix_listener /var/spool/postfix/private/dovecot-auth { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
77 |
user = postfix |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
78 |
group = postfix |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
79 |
mode = 0600 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
80 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
81 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
82 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
83 |
service auth-worker { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
84 |
unix_listener auth-worker { |
564
55148bc6348e
INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents:
562
diff
changeset
|
85 |
user = doveauth |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
86 |
group = $default_internal_user |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
87 |
mode = 0660 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
88 |
} |
564
55148bc6348e
INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents:
562
diff
changeset
|
89 |
user = doveauth |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
90 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
91 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
92 |
service dict { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
93 |
unix_listener dict { |
564
55148bc6348e
INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents:
562
diff
changeset
|
94 |
group = dovemail |
55148bc6348e
INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents:
562
diff
changeset
|
95 |
mode = 0660 |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
96 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
97 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
98 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
99 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
100 |
# conf.d/10-ssl.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
101 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
102 |
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt> |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
103 |
#ssl = yes |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
104 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
105 |
ssl_cert = </etc/ssl/certs/dovecot.pem |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
106 |
ssl_key = </etc/ssl/private/dovecot.pem |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
107 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
108 |
# if you want to disable SSL/TLS, you have set 'ssl = no' and disable the |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
109 |
# imaps listener in conf.d/10-master.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
110 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
111 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
112 |
# conf.d/15-lda.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
113 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
114 |
postmaster_address = postmaster@YOUR-DOMAIN.TLD |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
115 |
recipient_delimiter = + |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
116 |
protocol lda { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
117 |
# uncomment if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
118 |
#mail_plugins = $mail_plugins |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
119 |
# uncomment if you want to use the quota and sieve plugins |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
120 |
#mail_plugins = $mail_plugins sieve |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
121 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
122 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
123 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
124 |
# conf.d/20-imap.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
125 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
126 |
protocol imap { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
127 |
# uncomment if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
128 |
#mail_plugins = $mail_plugins imap_quota |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
129 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
130 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
131 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
132 |
# conf.d/20-lmtp.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
133 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
134 |
protocol lmtp { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
135 |
# uncomment if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
136 |
#mail_plugins = $mail_plugins |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
137 |
# uncomment if you want to use the quota and sieve plugins |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
138 |
#mail_plugins = $mail_plugins sieve |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
139 |
} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
140 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
141 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
142 |
# conf.d/90-quota.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
143 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
144 |
# uncomment if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
145 |
#plugin { |
632
152ea3e3e955
Documentation: Fixed dictionary quota URI.
Pascal Volk <user@localhost.localdomain.org>
parents:
564
diff
changeset
|
146 |
# quota = dict:user:%{uid}:proxy::quota |
562
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
147 |
# quota_rule = *:storage=0:messages=0 |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
148 |
# quota_rule2 = Trash:storage=+100M |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
149 |
#} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
150 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
151 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
152 |
# conf.d/90-sieve.conf |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
153 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
154 |
# uncomment if you want to use sieve (and maybe managesieve) |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
155 |
#plugin { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
156 |
# recipient_delimiter = + |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
157 |
# sieve = ~/.dovecot.sieve |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
158 |
# sieve_dir = ~/sieve |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
159 |
#} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
160 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
161 |
############################################################################### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
162 |
# end of local configuration # |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
163 |
############################################################################### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
164 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
165 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
166 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
167 |
# etc/dovecot/dovecot-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
168 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
169 |
# apply this settings to your dovecot-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
170 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
171 |
#driver = pgsql |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
172 |
#connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
173 |
# |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
174 |
#password_query = \ |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
175 |
# SELECT userid AS "user", password FROM dovecotpassword('%Ln', '%Ld') WHERE %Ls |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
176 |
# |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
177 |
## uncomment this user_query if you want to use the quota plugin |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
178 |
#user_query = \ |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
179 |
# SELECT home, uid, gid, mail, quota_rule FROM dovecotquotauser('%Ln', '%Ld') |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
180 |
## otherwise uncomment the following user_query |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
181 |
#user_query = SELECT home, uid, gid, mail FROM dovecotuser('%Ln', '%Ld') |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
182 |
# |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
183 |
#iterate_query = \ |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
184 |
# SELECT local_part AS username, domain_name.domainname AS domain \ |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
185 |
# FROM users \ |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
186 |
# LEFT JOIN domain_data USING (gid) \ |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
187 |
# LEFT JOIN domain_name USING (gid) |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
188 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
189 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
190 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
191 |
# etc/dovecot/dovecot-dict-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
192 |
### |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
193 |
# if you want to use the quota plugin add this lines to your |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
194 |
# dovecot-dict-sql.conf.ext |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
195 |
|
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
196 |
#connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
197 |
#map { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
198 |
# pattern = priv/quota/storage |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
199 |
# table = userquota |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
200 |
# username_field = uid |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
201 |
# value_field = bytes |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
202 |
#} |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
203 |
#map { |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
204 |
# pattern = priv/quota/messages |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
205 |
# table = userquota |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
206 |
# username_field = uid |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
207 |
# value_field = messages |
b5bb7b34e831
Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
208 |
#} |