Am 25.06.2026 15:04, schrieb Marco Moock:
Am 25.06.26 um 08:24 schrieb [email protected]:

As stated by Jean, you can either script the assignment of special use flags,

What is the command (mboxcfg?) for doing it?

Hello,


I think I gave an example before?


- Authenticate as the "johndoe" user, using the cyrus user's credentials:

cyradm --user cyrus --authz johndoe localhost


Now depending on your namespace (i will assume INBOX/ - if you are unsure use "lm" to list your user's mailboxes)


setmetadata --private INBOX/Trash specialuse "\\Trash"



that's it.


If you feel lazy and tested it beforehand (I did), you can also use it with a heredoc:


cyradm --user cyrus --authz johndoe localhost <<EOF
setmetadata --private INBOX/Trash specialuse "\\Trash"
EOF




Best regards,

Alex

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T2458805e4a6ef435-Mfd935d05c34ec08b71a88f1a
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to