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:
# 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?
thanks!
micah
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20111006/9bf97f60/attachment-0004.bin>
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
On 2011-10-06 23:23, Micah Anderson wrote:> # doveadm mailbox list -s -u bob dovecot* # doveadm mailbox > subscribe -u bob dovecot*RFC3501. Wildcards are allowed only in LIST/LSUB commands. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl