[Dovecot] users mail folders have to be subscribed

Andre Bischof andre.bischof at rheinsinn.de
Thu Nov 22 10:53:45 EET 2012


Steffen,

2012/11/20 Steffen Kaiser <skdovecot at smail.inf.fh-brs.de>

> ...
>>
>> Thank you. One thing that still doesn't work is subscribing to all
>> mailboxes via "*", I guess because the folder names start with "." but
>> dovecot mailbbox subscribe wants it without a starting "." Any clues how
>> that can be solved?
>>
>
>
> In v2.1.10
>
>
> doveadm mailbox subscribe -u user at example.com "*"
>
> does indeed add the string "*" to the subscription list, hence, one cannot
> add "all folders" with this wildcard.
>
> However, you can use the Unix flexible modular command line system :-)
> e.g.:
>
> doveadm mailbox subscribe -u user at example.com \
>  $( doveadm mailbox list -u user at example.com )
>
> ...

That's smart! I solved it a similar way yesterday evening using a loop
(found it via google), but your way is even shorter.

Regards
Andre


More information about the dovecot mailing list