[Dovecot] courier IMAP to dovecot migration: folders not showing up
i have been running postfix + courier-imap + cyrus sasl for several years and have some prior experience with dovecot + postfix and had no problems. now that i'm trying to convert an existing courier-imap configuration to dovecot and all the various parts work together (e.g. mail delivery and dovecot sasl), i cannot get the folder subscription issue sorted.
the machine is running netbsd 4.1 + postfix 2.5.1 + dovecot 1.0.13.
searching for a bit yields the following useful links
http://wiki.dovecot.org/Migration/Courier http://wiki.dovecot.org/Migration http://marc.info/?l=dovecot&m=120592911416484&w=2
i have downloaded and run the courier-dovecot-migrate.pl script and that does not do the trick, nor does following it up with the suggested changes in the private namespace.
an example of one of the maildirs i have at hand is
mail# ls -al
total 1580 drwx------ 71 vmail users 2560 Jun 27 13:47 . drwx------ 24 vmail users 512 May 28 14:10 .. drwx------ 6 vmail users 512 Jun 27 12:10 .Drafts drwx------ 5 vmail users 512 Jun 27 13:17 .INBOX.Trash drwx------ 6 vmail users 512 Jun 27 12:45 .RT drwx------ 6 vmail users 512 Jun 27 12:50 .Sent drwx------ 6 vmail users 512 Jun 27 12:46 .Trash drwx------ 6 vmail users 512 Jun 27 12:45 .Trash.bro drwx------ 6 vmail users 512 Jun 27 12:45 .associates ....
and the subscriptions file, after courier-dovecot-migrate.pl runs is
Trash Sent Drafts associates ....
based on the folder subscriptions, i have attempted to move the folders preceded by a '.' to the same name without a '.'. this does not fix the problem either.
any clues on how to fix this issue would be welcome.
cheers, jake
Charles Marcus wrote:
On 6/27/2008 8:27 PM, Jacob Yocom-Piatt wrote:
any clues on how to fix this issue would be welcome.
It will probably be helpful to provide output of dovecot -n so we can see your config... ?
hope this sheds some light on the matter... will try recopying the maildirs and redoing the suggested conversion procedure.
# 1.0.13: /usr/pkg/etc/dovecot.conf protocols: imaps disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/pkg/libexec/dovecot/imap-login valid_chroot_dirs: /var/vmail first_valid_uid: 1001 last_valid_uid: 1002 first_valid_gid: 100 last_valid_gid: 1000 mail_location: maildir:/var/vmail/%d/%n mail_debug: yes auth default: mechanisms: plain login cram-md5 passdb: driver: passwd-file args: /usr/pkg/etc/dovecot.passdb passdb: driver: passwd userdb: driver: passwd userdb: driver: static args: uid=1002 gid=100 home=/var/vmail/%d/%n socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
cheers, jake
I guess you didn't configure INBOX. namespace prefix to Dovecot, but your client configuration still has it.
participants (3)
-
Charles Marcus
-
Jacob Yocom-Piatt
-
Timo Sirainen