[Dovecot] How to autosubscribe Folder in dovecot
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.
Thanks & Regards.
Munga (System Engginer)
-- Click for exclusive coverage on the New Bajaj Pulsar 220 the fastest Indian bike http://www.zigwheels.com/Features/Bajaj-Pulsar-220-DTSi-Special-Coverage/Pul...
On 06/06/2010 07:13 PM mungalal2000@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
The trapper recommends today: c01dcafe.1015807@localdomain.org
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@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; doneSubscribing 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
Szukasz pracy? Zobacz ciekawe oferty w Twoim miescie Sprawdz >>> http://linkint.pl/f2725
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@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; doneSubscribing 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
Szukasz pracy? Zobacz ciekawe oferty w Twoim miescie Sprawdz >>> http://linkint.pl/f2725
Najlepsza wyszukiwarka tanich lotow! Sprawdz >>> http://linkint.pl/f2726
participants (3)
-
DZIOBAK
-
mungalal2000@indiatimes.com
-
Pascal Volk