doveadm: problem listing shared mailboxes using a wildcard

Timo Sirainen tss at iki.fi
Wed Jun 27 19:21:00 EEST 2018


On 25 Jun 2018, at 16.03, Patrick Ben Koetter <p at 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 at spike.test <mailto:fdl01 at 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180627/f984b4f3/attachment.html>


More information about the dovecot mailing list