[Dovecot] doveadm mailbox subscribe wildcard

Pascal Volk user+dovecot at localhost.localdomain.org
Fri Oct 7 01:02:35 EEST 2011


On 10/06/2011 11:23 PM Micah Anderson wrote:
> 
> Hi,
> 
> I noticed that wildcards work like the following, as described in the
> man page:
> 
> # doveadm mailbox list -s -u bob dovecot*
>     dovecot
>     dovecot/pigeonhole
>     dovecot/pigeonhole/2.0
> 
> however, wildcard subscriptions don't work:

Why should it work? Where is 'wildcard subscribing' documented?

> # doveadm mailbox subscribe -u bob dovecot*
> 
> # doveadm mailbox list -s -u bob dovecot*
>     dovecot
>     dovecot*
>     dovecot/pigeonhole
>     dovecot/pigeonhole/2.0
> 
> It seems I subscribed the non-existant mailbox called 'dovecot*' -- is
> there a better way to handle this?

for box in `doveadm mailbox list dovecot\*`
do
   doveadm mailbox subscribe $box
done


Regards,
Pascal
-- 
The trapper recommends today: defaced.1127923 at localdomain.org


More information about the dovecot mailing list