20-imap.conf.erb 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ##
  2. ## IMAP specific settings
  3. ##
  4. <% if @protocols['imap'].kind_of?(Hash) and @protocols['imap'].length > 0 -%>
  5. <%= Dovecot::Conf.protocol('imap', @protocols['imap']) %>
  6. <% else -%>
  7. protocol imap {
  8. # Maximum IMAP command line length. Some clients generate very long command
  9. # lines with huge mailboxes, so you may need to raise this if you get
  10. # "Too long argument" or "IMAP command line too large" errors often.
  11. #imap_max_line_length = 64k
  12. # Maximum number of IMAP connections allowed for a user from each IP address.
  13. # NOTE: The username is compared case-sensitively.
  14. #mail_max_userip_connections = 10
  15. # Space separated list of plugins to load (default is global mail_plugins).
  16. #mail_plugins = $mail_plugins
  17. # IMAP logout format string:
  18. # %i - total number of bytes read from client
  19. # %o - total number of bytes sent to client
  20. #imap_logout_format = bytes=%i/%o
  21. # Override the IMAP CAPABILITY response. If the value begins with '+',
  22. # add the given capabilities on top of the defaults (e.g. +XFOO XBAR).
  23. #imap_capability =
  24. # How long to wait between "OK Still here" notifications when client is
  25. # IDLEing.
  26. #imap_idle_notify_interval = 2 mins
  27. # ID field names and values to send to clients. Using * as the value makes
  28. # Dovecot use the default value. The following fields have default values
  29. # currently: name, version, os, os-version, support-url, support-email.
  30. #imap_id_send =
  31. # ID fields sent by client to log. * means everything.
  32. #imap_id_log =
  33. # Workarounds for various client bugs:
  34. # delay-newmail:
  35. # Send EXISTS/RECENT new mail notifications only when replying to NOOP
  36. # and CHECK commands. Some clients ignore them otherwise, for example OSX
  37. # Mail (<v2.1). Outlook Express breaks more badly though, without this it
  38. # may show user "Message no longer in server" errors. Note that OE6 still
  39. # breaks even with this workaround if synchronization is set to
  40. # "Headers Only".
  41. # tb-extra-mailbox-sep:
  42. # With mbox storage a mailbox can contain either mails or submailboxes,
  43. # but not both. Thunderbird separates these two by forcing server to
  44. # accept '/' suffix in mailbox names in subscriptions list.
  45. # tb-lsub-flags:
  46. # Show \Noselect flags for LSUB replies with LAYOUT=fs (e.g. mbox).
  47. # This makes Thunderbird realize they aren't selectable and show them
  48. # greyed out, instead of only later giving "not selectable" popup error.
  49. #
  50. # The list is space-separated.
  51. #imap_client_workarounds =
  52. }
  53. <% end -%>