20-pop3.conf.erb 3.6 KB

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