192 |
- |
1 |
## Dovecot configuration file
|
|
|
2 |
|
|
|
3 |
# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration
|
|
|
4 |
|
|
|
5 |
# "doveconf -n" command gives a clean output of the changed settings. Use it
|
|
|
6 |
# instead of copy&pasting files when posting to the Dovecot mailing list.
|
|
|
7 |
|
|
|
8 |
# '#' character and everything after it is treated as comments. Extra spaces
|
|
|
9 |
# and tabs are ignored. If you want to use either of these explicitly, put the
|
|
|
10 |
# value inside quotes, eg.: key = "# char and trailing whitespace "
|
|
|
11 |
|
|
|
12 |
# Most (but not all) settings can be overridden by different protocols and/or
|
|
|
13 |
# source/destination IPs by placing the settings inside sections, for example:
|
|
|
14 |
# protocol imap { }, local 127.0.0.1 { }, remote 10.0.0.0/8 { }
|
|
|
15 |
|
|
|
16 |
# Default values are shown for each setting, it's not required to uncomment
|
|
|
17 |
# those. These are exceptions to this though: No sections (e.g. namespace {})
|
|
|
18 |
# or plugin settings are added by default, they're listed only as examples.
|
|
|
19 |
# Paths are also just examples with the real defaults being based on configure
|
|
|
20 |
# options. The paths listed here are for configure --prefix=/usr
|
|
|
21 |
# --sysconfdir=/etc --localstatedir=/var
|
|
|
22 |
|
|
|
23 |
# Protocols we want to be serving.
|
|
|
24 |
#protocols = imap pop3 lmtp submission
|
|
|
25 |
protocols = imap lmtp
|
|
|
26 |
|
|
|
27 |
# A comma separated list of IPs or hosts where to listen in for connections.
|
|
|
28 |
# "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
|
|
|
29 |
# If you want to specify non-default ports or anything more complex,
|
|
|
30 |
# edit conf.d/master.conf.
|
|
|
31 |
#listen = *, ::
|
|
|
32 |
|
|
|
33 |
# Base directory where to store runtime data.
|
|
|
34 |
#base_dir = /var/run/dovecot/
|
|
|
35 |
|
|
|
36 |
# Name of this instance. In multi-instance setup doveadm and other commands
|
|
|
37 |
# can use -i <instance_name> to select which instance is used (an alternative
|
|
|
38 |
# to -c <config_path>). The instance name is also added to Dovecot processes
|
|
|
39 |
# in ps output.
|
|
|
40 |
#instance_name = dovecot
|
|
|
41 |
|
|
|
42 |
# Greeting message for clients.
|
|
|
43 |
#login_greeting = Dovecot ready.
|
|
|
44 |
|
|
|
45 |
# Space separated list of trusted network ranges. Connections from these
|
|
|
46 |
# IPs are allowed to override their IP addresses and ports (for logging and
|
|
|
47 |
# for authentication checks). disable_plaintext_auth is also ignored for
|
|
|
48 |
# these networks. Typically you'd specify your IMAP proxy servers here.
|
|
|
49 |
#login_trusted_networks =
|
|
|
50 |
|
|
|
51 |
# Space separated list of login access check sockets (e.g. tcpwrap)
|
|
|
52 |
#login_access_sockets =
|
|
|
53 |
|
|
|
54 |
# With proxy_maybe=yes if proxy destination matches any of these IPs, don't do
|
|
|
55 |
# proxying. This isn't necessary normally, but may be useful if the destination
|
|
|
56 |
# IP is e.g. a load balancer's IP.
|
|
|
57 |
#auth_proxy_self =
|
|
|
58 |
|
|
|
59 |
# Show more verbose process titles (in ps). Currently shows user name and
|
|
|
60 |
# IP address. Useful for seeing who are actually using the IMAP processes
|
|
|
61 |
# (eg. shared mailboxes or if same uid is used for multiple accounts).
|
|
|
62 |
#verbose_proctitle = no
|
|
|
63 |
|
|
|
64 |
# Should all processes be killed when Dovecot master process shuts down.
|
|
|
65 |
# Setting this to "no" means that Dovecot can be upgraded without
|
|
|
66 |
# forcing existing client connections to close (although that could also be
|
|
|
67 |
# a problem if the upgrade is e.g. because of a security fix).
|
|
|
68 |
#shutdown_clients = yes
|
|
|
69 |
|
|
|
70 |
# If non-zero, run mail commands via this many connections to doveadm server,
|
|
|
71 |
# instead of running them directly in the same process.
|
|
|
72 |
#doveadm_worker_count = 0
|
|
|
73 |
# UNIX socket or host:port used for connecting to doveadm server
|
|
|
74 |
#doveadm_socket_path = doveadm-server
|
|
|
75 |
|
|
|
76 |
# Space separated list of environment variables that are preserved on Dovecot
|
|
|
77 |
# startup and passed down to all of its child processes. You can also give
|
|
|
78 |
# key=value pairs to always set specific settings.
|
|
|
79 |
#import_environment = TZ
|
|
|
80 |
|
|
|
81 |
##
|
|
|
82 |
## Dictionary server settings
|
|
|
83 |
##
|
|
|
84 |
|
|
|
85 |
# Dictionary can be used to store key=value lists. This is used by several
|
|
|
86 |
# plugins. The dictionary can be accessed either directly or though a
|
|
|
87 |
# dictionary server. The following dict block maps dictionary names to URIs
|
|
|
88 |
# when the server is used. These can then be referenced using URIs in format
|
|
|
89 |
# "proxy::<name>".
|
|
|
90 |
|
|
|
91 |
dict {
|
|
|
92 |
#quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
|
|
|
93 |
#expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
# Most of the actual configuration gets included below. The filenames are
|
|
|
97 |
# first sorted by their ASCII value and parsed in that order. The 00-prefixes
|
|
|
98 |
# in filenames are intended to make it easier to understand the ordering.
|
|
|
99 |
!include conf.d/*.conf
|
|
|
100 |
|
|
|
101 |
# A config file can also tried to be included without giving an error if
|
|
|
102 |
# it's not found:
|
|
|
103 |
!include_try local.conf
|