With no defaultFolders configured, a new account now gets Archive (special use Archive, subscribed) beside Inbox, Deleted Items, Junk Mail, Drafts and Sent Items, using the mailbox id already reserved for it (ARCHIVE_ID). A configured list is the admin choice and still only gets the five required folders filled in. Existing accounts are not changed.
Tests:
JMAP mailbox test: a new account has exactly the six folders.
Sieve test_mailbox.sieve used Archive as the special use nobody has; it now uses Important.
jmap::jmap_tests and imap::imap_tests pass locally (RocksDb); fork checks and rustfmt clean.
With no `defaultFolders` configured, a new account now gets Archive (special use Archive, subscribed) beside Inbox, Deleted Items, Junk Mail, Drafts and Sent Items, using the mailbox id already reserved for it (`ARCHIVE_ID`). A configured list is the admin choice and still only gets the five required folders filled in. Existing accounts are not changed.
Tests:
- JMAP mailbox test: a new account has exactly the six folders.
- Sieve `test_mailbox.sieve` used Archive as the special use nobody has; it now uses Important.
- `jmap::jmap_tests` and `imap::imap_tests` pass locally (RocksDb); fork checks and rustfmt clean.
Reported by khashmeshab in https://community.coffeylabs.org/t/232/12.
Fixes #374
With no defaultFolders configured, a new account now gets Archive (special use Archive, subscribed) beside Inbox, Deleted Items, Junk Mail, Drafts and Sent Items. It uses the mailbox id already reserved for it. A configured list is the admin's choice and still gets only the five required folders filled in. Existing accounts are unchanged.
Tests: the JMAP mailbox test checks a new account's folders; the Sieve special-use test now uses Important as the role nobody has, since Archive exists by default.
Fixes#374
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
With no
defaultFoldersconfigured, a new account now gets Archive (special use Archive, subscribed) beside Inbox, Deleted Items, Junk Mail, Drafts and Sent Items, using the mailbox id already reserved for it (ARCHIVE_ID). A configured list is the admin choice and still only gets the five required folders filled in. Existing accounts are not changed.Tests:
test_mailbox.sieveused Archive as the special use nobody has; it now uses Important.jmap::jmap_testsandimap::imap_testspass locally (RocksDb); fork checks and rustfmt clean.Reported by khashmeshab in https://community.coffeylabs.org/t/232/12.
Fixes #374