[Dovecot] How to autosubscribe Folder in dovecot

DZIOBAK dziobak84 at interia.pl
Mon Jun 7 09:18:05 EEST 2010


Sorry, wrong link, try this:
http://wiki.dovecot.org/Plugins/Autocreate


W dniu 2010-06-07 08:10, DZIOBAK pisze:
> Try this:
> http://www.mail-archive.com/dovecot@dovecot.org/msg10332.html
>
> W dniu 2010-06-07 07:25, Pascal Volk pisze:
>> On 06/06/2010 07:13 PM mungalal2000 at indiatimes.com wrote:
>>> Hi all,
>>>
>>> I have changed my imap server from courier to dovecot, Now i am 
>>> facing problem to subscribe the existing mail folder after change of 
>>> imap server by default they are showing in the unsubscribe folder 
>>> list, is there any command or mechanism in dovecot to subscribe all 
>>> the folder. i am using maildir format to store mail.
>>>
>> Subscribing to mailboxes is such a simple thing. So I'm not sure if I
>> understood your question.
>>
>> Let me answer the last past first. When using Dovecot>= v2.0, then yes:
>> for b in `doveadm mailbox list`; do doveadm mailbox subscribe $b; done
>>
>> Subscribing to a mailbox is usually a client action. No need for the the
>> admin to waste its time. ;-)
>>
>> The 'Migration: Courier to Dovecot'¹ page mentions also:
>> * Courier's courierimapsubscribed file is compatible with Dovecot's
>>    subscriptions file, but you need to remove the "INBOX." prefixes from
>>    the mailboxes. This is true even if you set namespace prefix to
>>    "INBOX." as described above.
>>
>> To remove the 'INBOX.' prefix manually, you can use sed:
>> sed -i "s|^INBOX\.\\(.*\\)|\1|" subscriptions
>>
>>
>> Regards,
>> Pascal
>> -- 
>> 1 = http://wiki.dovecot.org/Migration/Courier
>
>
> ----------------------------------------------------------------------
> Szukasz pracy? Zobacz ciekawe oferty w Twoim miescie
> Sprawdz >>> http://linkint.pl/f2725
>
>


----------------------------------------------------------------------
Najlepsza wyszukiwarka tanich lotow!
Sprawdz >>> http://linkint.pl/f2726



More information about the dovecot mailing list