doveadm: problem listing shared mailboxes using a wildcard

Patrick Ben Koetter
Mon, 25 Jun 2018 14:03:12 -0000

I'm setting up a dovecot server with private and shared namespaces. My test
setup has these mailboxes:

# /bin/doveadm mailbox list -u fdl01 at spike.test
INBOX/sub01
shared
shared/sammel01 at spike.test
shared/sammel02 at spike.test
INBOX

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 at spike.test -s shared*
#

Am I doing something wrong?

p at rick

P.S.
Running dovecot-2.2.10-8.el7.x86_64 on a centos server.




--
[*] sys4 AG

https://sys4.de, +49 (89) 30 90 46 64
Schlei?heimer Stra?e 26/MG,80333 M?nchen

Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein