mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
email: Add more special-use IMAP folders, set autoexpunge to 60days
A mail client should not create these special folders if they see existing folders with the special-use flag set on them. However, if a mail clients does create a folder and does not set special-use folder, the server will set the flag so that all other mail clients can see the flag. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
9710369949
commit
75ec7c5a5a
@ -1,43 +1,71 @@
|
|||||||
# Direct edits to this file will be lost!
|
# Direct edits to this file will be lost!
|
||||||
# Manage your settings on FreedomBox <https://localhost/plinth/apps/email/>
|
# Manage your settings on FreedomBox <https://localhost/plinth/apps/email/>
|
||||||
|
|
||||||
|
# Mark various mailboxes with special use flags (RFC 6154). Various names used
|
||||||
|
# in mail clients for mailboxes: https://www.imapwiki.org/SpecialUse
|
||||||
|
|
||||||
namespace inbox {
|
namespace inbox {
|
||||||
|
# Archive
|
||||||
mailbox Archive {
|
mailbox Archive {
|
||||||
auto = subscribe
|
auto = subscribe
|
||||||
special_use = \Archive
|
special_use = \Archive
|
||||||
}
|
}
|
||||||
|
mailbox Archives { # Thunderbird
|
||||||
|
auto = no
|
||||||
|
special_use = \Archive
|
||||||
|
}
|
||||||
|
|
||||||
|
# Drafts
|
||||||
mailbox Drafts {
|
mailbox Drafts {
|
||||||
auto = subscribe
|
auto = subscribe
|
||||||
special_use = \Drafts
|
special_use = \Drafts
|
||||||
}
|
}
|
||||||
mailbox Junk {
|
|
||||||
auto = subscribe
|
|
||||||
autoexpunge = 30d
|
|
||||||
special_use = \Junk
|
|
||||||
}
|
|
||||||
mailbox Trash {
|
|
||||||
auto = subscribe
|
|
||||||
autoexpunge = 30d
|
|
||||||
special_use = \Trash
|
|
||||||
}
|
|
||||||
|
|
||||||
mailbox INBOX.Junk {
|
|
||||||
auto = no
|
|
||||||
autoexpunge = 30d
|
|
||||||
special_use = \Junk
|
|
||||||
}
|
|
||||||
mailbox INBOX.Trash {
|
|
||||||
auto = no
|
|
||||||
autoexpunge = 30d
|
|
||||||
special_use = \Trash
|
|
||||||
}
|
|
||||||
|
|
||||||
|
# Sent
|
||||||
mailbox Sent {
|
mailbox Sent {
|
||||||
auto = subscribe
|
auto = subscribe
|
||||||
special_use = \Sent
|
special_use = \Sent
|
||||||
}
|
}
|
||||||
mailbox "Sent Messages" {
|
mailbox "Sent Items" { # Outlook 2010/2013
|
||||||
auto = no
|
auto = no
|
||||||
special_use = \Sent
|
special_use = \Sent
|
||||||
}
|
}
|
||||||
|
mailbox "Sent Messages" { # iOS
|
||||||
|
auto = no
|
||||||
|
special_use = \Sent
|
||||||
|
}
|
||||||
|
|
||||||
|
# Junk
|
||||||
|
mailbox Junk {
|
||||||
|
auto = subscribe
|
||||||
|
autoexpunge = 60d
|
||||||
|
special_use = \Junk
|
||||||
|
}
|
||||||
|
mailbox Spam { # KMail, K-9 Mail
|
||||||
|
auto = no
|
||||||
|
autoexpunge = 60d
|
||||||
|
special_use = \Junk
|
||||||
|
}
|
||||||
|
mailbox "Junk E-mail" { # Outlook 2010
|
||||||
|
auto = no
|
||||||
|
autoexpunge = 60d
|
||||||
|
special_use = \Junk
|
||||||
|
}
|
||||||
|
mailbox INBOX.Junk {
|
||||||
|
auto = no
|
||||||
|
autoexpunge = 60d
|
||||||
|
special_use = \Junk
|
||||||
|
}
|
||||||
|
|
||||||
|
# Trash
|
||||||
|
mailbox Trash {
|
||||||
|
auto = subscribe
|
||||||
|
autoexpunge = 60d
|
||||||
|
special_use = \Trash
|
||||||
|
}
|
||||||
|
mailbox INBOX.Trash {
|
||||||
|
auto = no
|
||||||
|
autoexpunge = 60d
|
||||||
|
special_use = \Trash
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user