20-pop3.conf.erb 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # Generated by Chef
  2. ##
  3. ## POP3 specific settings
  4. ##
  5. <% if @protocols['pop3'].kind_of?(Hash) and @protocols['pop3'].length > 0 -%>
  6. <%= Dovecot::Conf.protocol('pop3', @protocols['pop3']) %>
  7. <% else -%>
  8. protocol pop3 {
  9. # Don't try to set mails non-recent or seen with POP3 sessions. This is
  10. # mostly intended to reduce disk I/O. With maildir it doesn't move files
  11. # from new/ to cur/, with mbox it doesn't write Status-header.
  12. #pop3_no_flag_updates = no
  13. # Support LAST command which exists in old POP3 specs, but has been removed
  14. # from new ones. Some clients still wish to use this though. Enabling this
  15. # makes RSET command clear all \Seen flags from messages.
  16. #pop3_enable_last = no
  17. # If mail has X-UIDL header, use it as the mail's UIDL.
  18. #pop3_reuse_xuidl = no
  19. # Keep the mailbox locked for the entire POP3 session.
  20. #pop3_lock_session = no
  21. # POP3 requires message sizes to be listed as if they had CR+LF linefeeds.
  22. # Many POP3 servers violate this by returning the sizes with LF linefeeds,
  23. # because it's faster to get. When this setting is enabled, Dovecot still
  24. # tries to do the right thing first, but if that requires opening the
  25. # message, it fallbacks to the easier (but incorrect) size.
  26. #pop3_fast_size_lookups = no
  27. # POP3 UIDL (unique mail identifier) format to use. You can use following
  28. # variables, along with the variable modifiers described in
  29. # doc/wiki/Variables.txt (e.g. %Uf for the filename in uppercase)
  30. #
  31. # %v - Mailbox's IMAP UIDVALIDITY
  32. # %u - Mail's IMAP UID
  33. # %m - MD5 sum of the mailbox headers in hex (mbox only)
  34. # %f - filename (maildir only)
  35. # %g - Mail's GUID
  36. #
  37. # If you want UIDL compatibility with other POP3 servers, use:
  38. # UW's ipop3d : %08Xv%08Xu
  39. # Courier : %f or %v-%u (both might be used simultaneosly)
  40. # Cyrus (<= 2.1.3) : %u
  41. # Cyrus (>= 2.1.4) : %v.%u
  42. # Dovecot v0.99.x : %v.%u
  43. # tpop3d : %Mf
  44. #
  45. # Note that Outlook 2003 seems to have problems with %v.%u format which was
  46. # Dovecot's default, so if you're building a new server it would be a good
  47. # idea to change this. %08Xu%08Xv should be pretty fail-safe.
  48. #
  49. #pop3_uidl_format = %08Xu%08Xv
  50. # Permanently save UIDLs sent to POP3 clients, so pop3_uidl_format changes
  51. # won't change those UIDLs. Currently this works only with Maildir.
  52. #pop3_save_uidl = no
  53. # POP3 logout format string:
  54. # %i - total number of bytes read from client
  55. # %o - total number of bytes sent to client
  56. # %t - number of TOP commands
  57. # %p - number of bytes sent to client as a result of TOP command
  58. # %r - number of RETR commands
  59. # %b - number of bytes sent to client as a result of RETR command
  60. # %d - number of deleted messages
  61. # %m - number of messages (before deletion)
  62. # %s - mailbox size in bytes (before deletion)
  63. # %u - old/new UIDL hash. may help finding out if UIDLs changed unexpectedly
  64. #pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  65. # Maximum number of POP3 connections allowed for a user from each IP address.
  66. # NOTE: The username is compared case-sensitively.
  67. #mail_max_userip_connections = 10
  68. # Space separated list of plugins to load (default is global mail_plugins).
  69. #mail_plugins = $mail_plugins
  70. # Workarounds for various client bugs:
  71. # outlook-no-nuls:
  72. # Outlook and Outlook Express hang if mails contain NUL characters.
  73. # This setting replaces them with 0x80 character.
  74. # oe-ns-eoh:
  75. # Outlook Express and Netscape Mail breaks if end of headers-line is
  76. # missing. This option simply sends it if it's missing.
  77. # The list is space-separated.
  78. #pop3_client_workarounds =
  79. }
  80. <% end -%>