On Mon, 2011-05-16 at 12:45 -0400, Alex wrote: > >> If I delete the .subscription files for all users, will dovecot > >> automatically rebuild them, so I can create a sed script to rename all > >> the INBOX.* files to remove the INBOX. part? > > > > Subscriptions are managed by users. If you delete .subscriptions file, > > then all mailboxes are unsubscribed. There's not really any point in > > using subscriptions at all if all mailboxes are subscribed.. > > I think that might be a better option for my users. Is there a way to > automatically subscribe to all folders?
Not easily. You could write a script using "doveadm mailbox list" output and running "doveadm mailbox subscribe" to all of them.