You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.3KB

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