dovecot.conf.erb 3.7 KB

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