summaryrefslogtreecommitdiff
path: root/dovecot/conf.d/20-imap.conf
blob: 8d9d31126d2602bab6d6e35d9e5d06c0bea9b97b (plain)
  1. ##
  2. ## IMAP specific settings
  3. ##
  4. # If nothing happens for this long while client is IDLEing, move the connection
  5. # to imap-hibernate process and close the old imap process. This saves memory,
  6. # because connections use very little memory in imap-hibernate process. The
  7. # downside is that recreating the imap process back uses some resources.
  8. #imap_hibernate_timeout = 0
  9. # Maximum IMAP command line length. Some clients generate very long command
  10. # lines with huge mailboxes, so you may need to raise this if you get
  11. # "Too long argument" or "IMAP command line too large" errors often.
  12. #imap_max_line_length = 64k
  13. # IMAP logout format string:
  14. # %i - total number of bytes read from client
  15. # %o - total number of bytes sent to client
  16. # %{fetch_hdr_count} - Number of mails with mail header data sent to client
  17. # %{fetch_hdr_bytes} - Number of bytes with mail header data sent to client
  18. # %{fetch_body_count} - Number of mails with mail body data sent to client
  19. # %{fetch_body_bytes} - Number of bytes with mail body data sent to client
  20. # %{deleted} - Number of mails where client added \Deleted flag
  21. # %{expunged} - Number of mails that client expunged
  22. # %{trashed} - Number of mails that client copied/moved to the
  23. # special_use=\Trash mailbox.
  24. #imap_logout_format = in=%i out=%o
  25. # Override the IMAP CAPABILITY response. If the value begins with '+',
  26. # add the given capabilities on top of the defaults (e.g. +XFOO XBAR).
  27. #imap_capability =
  28. # How long to wait between "OK Still here" notifications when client is
  29. # IDLEing.
  30. imap_idle_notify_interval = 29 mins
  31. # ID field names and values to send to clients. Using * as the value makes
  32. # Dovecot use the default value. The following fields have default values
  33. # currently: name, version, os, os-version, support-url, support-email.
  34. #imap_id_send =
  35. # ID fields sent by client to log. * means everything.
  36. #imap_id_log =
  37. # Workarounds for various client bugs:
  38. # delay-newmail:
  39. # Send EXISTS/RECENT new mail notifications only when replying to NOOP
  40. # and CHECK commands. Some clients ignore them otherwise, for example OSX
  41. # Mail (<v2.1). Outlook Express breaks more badly though, without this it
  42. # may show user "Message no longer in server" errors. Note that OE6 still
  43. # breaks even with this workaround if synchronization is set to
  44. # "Headers Only".
  45. # tb-extra-mailbox-sep:
  46. # Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and
  47. # adds extra '/' suffixes to mailbox names. This option causes Dovecot to
  48. # ignore the extra '/' instead of treating it as invalid mailbox name.
  49. # tb-lsub-flags:
  50. # Show \Noselect flags for LSUB replies with LAYOUT=fs (e.g. mbox).
  51. # This makes Thunderbird realize they aren't selectable and show them
  52. # greyed out, instead of only later giving "not selectable" popup error.
  53. #
  54. # The list is space-separated.
  55. #imap_client_workarounds =
  56. # Host allowed in URLAUTH URLs sent by client. "*" allows all.
  57. #imap_urlauth_host =
  58. protocol imap {
  59. # Space separated list of plugins to load (default is global mail_plugins).
  60. mail_plugins = $mail_plugins imap_zlib
  61. # Maximum number of IMAP connections allowed for a user from each IP address.
  62. # NOTE: The username is compared case-sensitively.
  63. #mail_max_userip_connections = 10
  64. }