[Dovecot] folders not subscribed
Timo Sirainen
tss at iki.fi
Thu Jan 8 08:36:11 EET 2004
On Tue, 2004-01-06 at 15:49, Jerry Chiu wrote:
> when migrated from courier-imap,
> I found that all the sub-folders are not subscribed, I have to manually
> subscribe all of them.
>
> It is not very practical since many of my users have complicated folder
> structure...
>
> Is it possible that the dovecot server auto-subscribe all sub-folders if
> the ".subscriptions" is not present in the Maildir?
Courier stores the subscriptions in courierimapsubscribed file. You
should be able to rename those files into Dovecot's .subscriptions
files. Something like:
find . -name courierimapsubscribed -exec sh -c 'mv "{}" "`echo "{}"|sed s/courierimapsubscribed/\.subscriptions/`"' \;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040108/2c32cfeb/attachment-0001.bin>
More information about the dovecot
mailing list