summaryrefslogtreecommitdiff
path: root/dovecot/conf.d/15-mailboxes.conf
blob: c5a1ca2b884aa8b5a348e626a3e929c50cf399e9 (plain)
  1. ##
  2. ## Mailbox definitions
  3. ##
  4. # Each mailbox is specified in a separate mailbox section. The section name
  5. # specifies the mailbox name. If it has spaces, you can put the name
  6. # "in quotes". These sections can contain the following mailbox settings:
  7. #
  8. # auto:
  9. # Indicates whether the mailbox with this name is automatically created
  10. # implicitly when it is first accessed. The user can also be automatically
  11. # subscribed to the mailbox after creation. The following values are
  12. # defined for this setting:
  13. #
  14. # no - Never created automatically.
  15. # create - Automatically created, but no automatic subscription.
  16. # subscribe - Automatically created and subscribed.
  17. #
  18. # special_use:
  19. # A space-separated list of SPECIAL-USE flags (RFC 6154) to use for the
  20. # mailbox. There are no validity checks, so you could specify anything
  21. # you want in here, but it's not a good idea to use flags other than the
  22. # standard ones specified in the RFC:
  23. #
  24. # \All - This (virtual) mailbox presents all messages in the
  25. # user's message store.
  26. # \Archive - This mailbox is used to archive messages.
  27. # \Drafts - This mailbox is used to hold draft messages.
  28. # \Flagged - This (virtual) mailbox presents all messages in the
  29. # user's message store marked with the IMAP \Flagged flag.
  30. # \Junk - This mailbox is where messages deemed to be junk mail
  31. # are held.
  32. # \Sent - This mailbox is used to hold copies of messages that
  33. # have been sent.
  34. # \Trash - This mailbox is used to hold messages that have been
  35. # deleted.
  36. #
  37. # comment:
  38. # Defines a default comment or note associated with the mailbox. This
  39. # value is accessible through the IMAP METADATA mailbox entries
  40. # "/shared/comment" and "/private/comment". Users with sufficient
  41. # privileges can override the default value for entries with a custom
  42. # value.
  43. # NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf.
  44. namespace inbox {
  45. # These mailboxes are widely used and could perhaps be created automatically:
  46. mailbox Drafts {
  47. special_use = \Drafts
  48. }
  49. mailbox Junk {
  50. auto = subscribe
  51. special_use = \Junk
  52. }
  53. mailbox Trash {
  54. auto = subscribe
  55. special_use = \Trash
  56. }
  57. # For \Sent mailboxes there are two widely used names. We'll mark both of
  58. # them as \Sent. User typically deletes one of them if duplicates are created.
  59. mailbox Sent {
  60. special_use = \Sent
  61. }
  62. mailbox "Sent Messages" {
  63. special_use = \Sent
  64. }
  65. # If you have a virtual "All messages" mailbox:
  66. #mailbox virtual/All {
  67. # special_use = \All
  68. # comment = All my messages
  69. #}
  70. # If you have a virtual "Flagged" mailbox:
  71. #mailbox virtual/Flagged {
  72. # special_use = \Flagged
  73. # comment = All my flagged messages
  74. #}
  75. }