On 25 Jun 2018, at 16.03, Patrick Ben Koetter <p@sys4.de> wrote:

In order to do some post-login scripting foo I'd like to get a list of shared
mailboxes the user is currently subscribed to. The doveadm-mailbox man page
says "It's also possible to use wildcards in the mailbox name."

I'd like to use that feature to output only mailboxes from the shared
namespace. However usind the wildcard character * doesn't output anything:

# /bin/doveadm mailbox list -u fdl01@spike.test -s shared*

The wildcards traverse only within the same namespace, so in this case the "shared/" namespace, which doesn't have any mailboxes (only child namespaces). Maybe we'll change this for v2.4.