20-imap.conf.erb 2.5 KB

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