Advertisement
Guest User

dovecot.conf - Dovecot

a guest
Jun 3rd, 2014
215
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. # Enable installed protocols
  24. !include_try /usr/share/dovecot/protocols.d/*.protocol
  25.  
  26. # A comma separated list of IPs or hosts where to listen in for connections.
  27. # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
  28. # If you want to specify non-default ports or anything more complex,
  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. Typically you'd specify your IMAP proxy servers here.
  48. #login_trusted_networks =
  49.  
  50. # Space separated list of login access check sockets (e.g. tcpwrap)
  51. #login_access_sockets =
  52.  
  53. # With proxy_maybe=yes if proxy destination matches any of these IPs, don't do
  54. # proxying. This isn't necessary normally, but may be useful if the destination
  55. # IP is e.g. a load balancer's IP.
  56. #auth_proxy_self =
  57.  
  58. # Show more verbose process titles (in ps). Currently shows user name and
  59. # IP address. Useful for seeing who are actually using the IMAP processes
  60. # (eg. shared mailboxes or if same uid is used for multiple accounts).
  61. #verbose_proctitle = no
  62.  
  63. # Should all processes be killed when Dovecot master process shuts down.
  64. # Setting this to "no" means that Dovecot can be upgraded without
  65. # forcing existing client connections to close (although that could also be
  66. # a problem if the upgrade is e.g. because of a security fix).
  67. #shutdown_clients = yes
  68.  
  69. # If non-zero, run mail commands via this many connections to doveadm server,
  70. # instead of running them directly in the same process.
  71. #doveadm_worker_count = 0
  72. # UNIX socket or host:port used for connecting to doveadm server
  73. #doveadm_socket_path = doveadm-server
  74.  
  75. # Space separated list of environment variables that are preserved on Dovecot
  76. # startup and passed down to all of its child processes. You can also give
  77. # key=value pairs to always set specific settings.
  78. #import_environment = TZ
  79.  
  80. ##
  81. ## Dictionary server settings
  82. ##
  83.  
  84. # Dictionary can be used to store key=value lists. This is used by several
  85. # plugins. The dictionary can be accessed either directly or though a
  86. # dictionary server. The following dict block maps dictionary names to URIs
  87. # when the server is used. These can then be referenced using URIs in format
  88. # "proxy::<name>".
  89.  
  90. dict {
  91. #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  92. #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
  93. }
  94.  
  95. # Most of the actual configuration gets included below. The filenames are
  96. # first sorted by their ASCII value and parsed in that order. The 00-prefixes
  97. # in filenames are intended to make it easier to understand the ordering.
  98. !include conf.d/*.conf
  99.  
  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
  104. protocols = imaps imap
  105. #protocols = imap pop3 lmtp sieve
  106. #mail_location = maildir:~/Maildir
  107. mail_location = maildir:/home/%u/Maildir
  108. #listen = *
  109. listen = *, [::]
Advertisement
RAW Paste Data Copied
Advertisement