Re: special use folder like Drafts, Sent, etc.
[email protected] Thu, 25 Jun 2026 08:24:01 +0200
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Am 25.06.2026 06:56, schrieb Marco Moock:
> Am 24.06.26 um 23:37 schrieb Jean Charles Del=C3=A9pine via Info:
>> NIL means "Nothing".
>> Your mb doesn't have specialuse defined.
>>=20
>> {user.delepine.Trash}:
>> =C2=A0 private:
>> =C2=A0=C2=A0=C2=A0 specialuse: \Trash
>>=20
>> This specialuse is added at creation by our scripts.
>=20
> How are they normally created?
> Do MUAs like Thunderbird create them?
Hello Marco,
as far as I know most MUAs do not create Special-Use flags on mailboxes=20
by default. For example Thunderbird seems to detect "special" mailboxes=20
by checking if there names correspond to the "defaults" from the RFCs -=20
e.g. Trash, Sent, Templates, Drafts ...
Other Clients like SOGo Webmail have a config option, where you can=20
state which foldernames get assigned the "Trash" role, the "Sent" role=20
etc.
As stated by Jean, you can either script the assignment of special use=20
flags, but cyrus also supports automatic assignment on creation, the=20
following would do that in /etc/imapd.conf (the xlist-*) directives.=20
Pleas note: these directives only pertain to initial user login! If you=20
want to add special-use flags for existing users you would have to take=20
the "manual" route (i.e. script it with cyradm)
autocreate_inbox_folders: Junk | Trash | Archive | Sent | Drafts
autocreate_subscribe_folders: Junk | Trash | Archive | Sent | Drafts
xlist-archive: Archive
xlist-trash: Trash
xlist-junk: Junk
xlist-sent: Sent
xlist-drafts: Drafts
autocreate_quota: 3145728
HTH,
Alex
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T2458805e4a6ef435-Mc17cd9=
7f74678eb3448322dc
Delivery options: https://cyrus.topicbox.com/groups/info/subscription