Odhiambo Washington
2005-Apr-30 08:00 UTC
[Dovecot] Migrating from courier-imap to dovecot
Hello Gang, I am new to dovecot and the only reason (so far) I would like to use dovecot, and in production with 12k+ users, is the fact that it's supposed to be faster and less of a resource hog. Now, sometimes I am really good at reading the documentations but it sometimes happens that one overlooks something. I did read the migration notes three times! My users are in /etc/passwd and I am running dovecot in IMAP only mode. I did put default_mail_env = maildir:~/Maildir in dovecot.conf, then for one user, I did the following: cd ~wash/Maildir cp courierimapsubscribed .subscriptions # Then I edited to remove "INBOX." cp courierimapuiddb dovecot-uidlist The permissions are right, but when I login as this user, I don't see all the folders that had been there before when he was using courier-imap!! When I login to the web interface (we use Squirrelmail) and go to the Folder options, I can't see any folders to subscribe to either! Now my questions: 1. What am I overlooking?? 2. Does someone have a script that can be used to automate the copying of courierimapsubscribed to .subscriptions and that of courierimapuiddb to dovecot-uidlist, and the editing to remove the "INBOX."? I am sure I really don't have to reinvent the wheel, no? Meanwhile I am hitting google, while waiting for your answers. Thanks in advance. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash at wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Ducharme's Axiom: If you view your problem closely enough you will recognize yourself as part of the problem.
Odhiambo Washington wrote:> Hello Gang, > > I am new to dovecot and the only reason (so far) I would like to use > dovecot, and in production with 12k+ users, is the fact that it's > supposed to be faster and less of a resource hog. >I see people posting that a lot... especially migrating from UW-IMAP.> The permissions are right, but when I login as this user, I don't see > all the folders that had been there before when he was using > courier-imap!! > > When I login to the web interface (we use Squirrelmail) and go to the > Folder options, I can't see any folders to subscribe to either!One thing I see suggested a lot is to make sure your CLIENTs don't have a prefix ( such as INBOX) set. This will, of course, vary depending on your client. -- Curtis Maloney
On Sat, 30 Apr 2005, Odhiambo Washington wrote:> 2. Does someone have a script that can be used to automate the copyingI've used the attached one. However, I tested it on some mailboxes til date only, because I'm evaluating Dovecot right now only. Bye, -- Steffen Kaiser -------------- next part -------------- A non-text attachment was scrubbed... Name: migCourierDovecot.pl.gz Type: application/octet-stream Size: 1638 bytes Desc: URL: <http://dovecot.org/pipermail/dovecot/attachments/20050502/0627681c/attachment-0001.obj>
On Sat, 2005-04-30 at 11:00 +0300, Odhiambo Washington wrote:> cd ~wash/Maildir > cp courierimapsubscribed .subscriptions # Then I edited to remove "INBOX." > cp courierimapuiddb dovecot-uidlist > > The permissions are right, but when I login as this user, I don't see > all the folders that had been there before when he was using > courier-imap!!Like Curtis said, this is most likely because the clients have INBOX. prefix set. If you don't want to have clients change their configuration, you can create namespaces (which requires 1.0-stable versions): http://wiki.dovecot.org/moin.cgi/Namespaces -------------- 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/20050508/d5fca1c8/attachment-0001.bin>