暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_dovecot_conf.d_20-imap.conf.j2 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ##
  2. ## IMAP specific settings
  3. ##
  4. protocol imap {
  5. # Maximum IMAP command line length. Some clients generate very long command
  6. # lines with huge mailboxes, so you may need to raise this if you get
  7. # "Too long argument" or "IMAP command line too large" errors often.
  8. #imap_max_line_length = 64k
  9. # Maximum number of IMAP connections allowed for a user from each IP address.
  10. # NOTE: The username is compared case-sensitively.
  11. #mail_max_userip_connections = 10
  12. # Space separated list of plugins to load (default is global mail_plugins).
  13. {% if ansible_distribution_version != '11' %}
  14. mail_plugins = $mail_plugins antispam fts fts_solr
  15. {% else %}
  16. mail_plugins = $mail_plugins antispam fts
  17. {% endif %}
  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. # Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and
  44. # adds extra '/' suffixes to mailbox names. This option causes Dovecot to
  45. # ignore the extra '/' instead of treating it as invalid mailbox name.
  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. protocol lmtp {
  55. # Space separated list of plugins to load (default is global mail_plugins).
  56. mail_plugins = $mail_plugins sieve
  57. postmaster_address = postmaster@{{ domain }}
  58. }