Re: [Dovecot] doveadm mailbox subscribe wildcard

2011-10-07 Thread Micah Anderson

"A.L.E.C"  writes:

> 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.

Aha, thanks!

I'll use the for loop method to achieve what I want.

micah

-- 


pgp6eY116W31a.pgp
Description: PGP signature


Re: [Dovecot] doveadm mailbox subscribe wildcard

2011-10-07 Thread A.L.E.C
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


Re: [Dovecot] doveadm mailbox subscribe wildcard

2011-10-06 Thread Pascal Volk
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.1127...@localdomain.org