diff options
Diffstat (limited to 'roles/dovecot/files/dovecot.conf')
| -rw-r--r-- | roles/dovecot/files/dovecot.conf | 81 |
1 files changed, 76 insertions, 5 deletions
diff --git a/roles/dovecot/files/dovecot.conf b/roles/dovecot/files/dovecot.conf index 14a4cf0..ee7eb33 100644 --- a/roles/dovecot/files/dovecot.conf +++ b/roles/dovecot/files/dovecot.conf | |||
| @@ -1,10 +1,81 @@ | |||
| 1 | # Enable installed protocols | 1 | ## Dovecot configuration file |
| 2 | |||
| 3 | # If you're in a hurry, see https://doc.dovecot.org/latest/core/config/guides/quick.html | ||
| 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 | # Default values are shown for each setting, it's not required to uncomment | ||
| 13 | # those. These are exceptions to this though: No sections (e.g. namespace {}) | ||
| 14 | # or plugin settings are added by default, they're listed only as examples. | ||
| 15 | # Paths are also just examples with the real defaults being based on configure | ||
| 16 | # options. The paths listed here are for configure --prefix=/usr/local | ||
| 17 | # --sysconfdir=/usr/local/etc --localstatedir=/var | ||
| 18 | |||
| 19 | dovecot_config_version = 2.4.0 | ||
| 20 | dovecot_storage_version = 2.4.0 | ||
| 21 | |||
| 22 | # Protocols we want to be serving. | ||
| 23 | #protocols = imap pop3 lmtp | ||
| 2 | !include_try /usr/share/dovecot/protocols.d/*.protocol | 24 | !include_try /usr/share/dovecot/protocols.d/*.protocol |
| 3 | 25 | ||
| 4 | dict { | 26 | # A comma separated list of IPs or hosts where to listen in for connections. |
| 5 | #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext | 27 | # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces. |
| 6 | #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext | 28 | # If you want to specify non-default ports or anything more complex, |
| 7 | } | 29 | # edit conf.d/master.conf. |
| 30 | #listen = *, :: | ||
| 31 | |||
| 32 | # Base directory where to store runtime data. | ||
| 33 | #base_dir = /var/run/dovecot/ | ||
| 34 | |||
| 35 | # Name of this instance. In multi-instance setup doveadm and other commands | ||
| 36 | # can use -i <instance_name> to select which instance is used (an alternative | ||
| 37 | # to -c <config_path>). The instance name is also added to Dovecot processes | ||
| 38 | # in ps output. | ||
| 39 | #instance_name = dovecot | ||
| 40 | |||
| 41 | # Greeting message for clients. | ||
| 42 | #login_greeting = Dovecot ready. | ||
| 43 | |||
| 44 | # Space separated list of trusted network ranges. Connections from these | ||
| 45 | # IPs are allowed to override their IP addresses and ports (for logging and | ||
| 46 | # for authentication checks). disable_plaintext_auth is also ignored for | ||
| 47 | # these networks, unless ssl=required. | ||
| 48 | # Typically you'd specify your IMAP proxy servers here. | ||
| 49 | #login_trusted_networks = | ||
| 50 | |||
| 51 | # With proxy_maybe=yes if proxy destination matches any of these IPs, don't do | ||
| 52 | # proxying. This isn't necessary normally, but may be useful if the destination | ||
| 53 | # IP is e.g. a load balancer's IP. | ||
| 54 | #auth_proxy_self = | ||
| 55 | |||
| 56 | # Show more verbose process titles (in ps). Currently shows user name and | ||
| 57 | # IP address. Useful for seeing who are actually using the IMAP processes | ||
| 58 | # (eg. shared mailboxes or if same uid is used for multiple accounts). | ||
| 59 | #verbose_proctitle = yes | ||
| 60 | |||
| 61 | # Should all processes be killed when Dovecot master process shuts down. | ||
| 62 | # Setting this to "no" means that Dovecot can be upgraded without | ||
| 63 | # forcing existing client connections to close (although that could also be | ||
| 64 | # a problem if the upgrade is e.g. because of a security fix). | ||
| 65 | #shutdown_clients = yes | ||
| 66 | |||
| 67 | # If non-zero, run mail commands via this many connections to doveadm server, | ||
| 68 | # instead of running them directly in the same process. | ||
| 69 | #doveadm_worker_count = 0 | ||
| 70 | # UNIX socket or host:port used for connecting to doveadm server | ||
| 71 | #doveadm_socket_path = doveadm-server | ||
| 72 | |||
| 73 | # Space separated list of environment variables that are preserved on Dovecot | ||
| 74 | # startup and passed down to all of its child processes. You can also give | ||
| 75 | # key=value pairs to always set specific settings. | ||
| 76 | #import_environment { | ||
| 77 | # TZ=%{env:TZ} | ||
| 78 | #} | ||
| 8 | 79 | ||
| 9 | # Most of the actual configuration gets included below. The filenames are | 80 | # Most of the actual configuration gets included below. The filenames are |
| 10 | # first sorted by their ASCII value and parsed in that order. The 00-prefixes | 81 | # first sorted by their ASCII value and parsed in that order. The 00-prefixes |
