Discussion:
[Dovecot] Migration from Courier to dovecot
Werner Detter
2010-01-20 16:20:30 UTC
Permalink
hi list,

I've just registered to the list, so please be tolerant ;) I'm currently
in the process of planning the migration from courier to dovecot as
POP/IMAP-Server. I'm migration from Courier 0.58 (Debian-Etch-packages)
to Dovecot 1.1.13 (Debian Lenny Backport).

The conversion of the Mailbox from Courier to Dovecot will be done with
"courier-dovecot-migrate.pl"-script[1], which works fine. However after
running "courier-dovecot-migrate.pl" the Courier-Files still remain in
the Maildir.

Can i just delete those Courier-specific-files or does dovecot need them
somehow (do you normally get rid of these after conversion)?

It's about these files:
courierimapacl
courierimapsubscribed
courierimapuiddb
courierpop3dsizelist

And those directories:
courierimaphieracl
courierimaphieracl

Can i simply delete those with "find" ? Furthermore: is it possible to
convert back from Dovecot-Format to Courier-Format?

Thanks in advance,
Werner

[1] http://www.dovecot.org/tools/courier-dovecot-migrate.pl
Werner Detter
2010-01-20 22:23:11 UTC
Permalink
Post by Werner Detter
The conversion of the Mailbox from Courier to Dovecot will be done with
"courier-dovecot-migrate.pl"-script[1], which works fine. However after
running "courier-dovecot-migrate.pl" the Courier-Files still remain in
the Maildir.
expressed unlucky :-)

sure, dovecot doesn't need these files after the migration. I have to
test, if it's possible to convert from a previously "courier to
dovecot migrated maildir" back to courier-format.
Timo Sirainen
2010-01-20 22:35:27 UTC
Permalink
Post by Werner Detter
Post by Werner Detter
The conversion of the Mailbox from Courier to Dovecot will be done with
"courier-dovecot-migrate.pl"-script[1], which works fine. However after
running "courier-dovecot-migrate.pl" the Courier-Files still remain in
the Maildir.
expressed unlucky :-)
sure, dovecot doesn't need these files after the migration. I have to
test, if it's possible to convert from a previously "courier to
dovecot migrated maildir" back to courier-format.
Some version of the script can do dovecot -> courier migration, without the courier* files, but perhaps unsurprisingly I've never been interested in writing or testing that code, so in the recent versions that I've modified it's probably broken.
David Halik
2010-01-20 22:44:38 UTC
Permalink
Post by Werner Detter
Post by Werner Detter
The conversion of the Mailbox from Courier to Dovecot will be done with
"courier-dovecot-migrate.pl"-script[1], which works fine. However after
running "courier-dovecot-migrate.pl" the Courier-Files still remain in
the Maildir.
expressed unlucky :-)
sure, dovecot doesn't need these files after the migration. I have to
test, if it's possible to convert from a previously "courier to
dovecot migrated maildir" back to courier-format.
Some version of the script can do dovecot -> courier migration, without the courier* files, but perhaps unsurprisingly I've never been interested in writing or testing that code, so in the recent versions that I've modified it's probably broken.
I just wanted to chime in that we're going to rewriting part of the
script to handle --location= at some point if anyone is interested. The
script works great, but it doesn't have the ability to point to an area
outside of the users' homedir for the conversion. If you're moving your
users' index/uid/subscriptions to a non-quota area outside their homedir
then this is necessary.

Unfortunately, that was something we learned too late after we did our
migration. =)
--
================================
David Halik
System Administrator
OIT-CSS Rutgers University
dhalik at jla.rutgers.edu
================================
Werner Detter
2010-01-20 22:50:46 UTC
Permalink
Post by Timo Sirainen
Some version of the script can do dovecot -> courier migration, without the courier* files,
but perhaps unsurprisingly I've never been interested in writing or testing that code, so in
the recent versions that I've modified it's probably broken.
Thanks for the info. I've asked because the convert-script offers the "--to-courier"-option,
I've tried that and it didn't work for me =)

regards,
Werner

Nick Douma
2010-01-20 22:27:07 UTC
Permalink
Post by Werner Detter
hi list,
I've just registered to the list, so please be tolerant ;) I'm currently
in the process of planning the migration from courier to dovecot as
POP/IMAP-Server. I'm migration from Courier 0.58 (Debian-Etch-packages)
to Dovecot 1.1.13 (Debian Lenny Backport).
The conversion of the Mailbox from Courier to Dovecot will be done with
"courier-dovecot-migrate.pl"-script[1], which works fine. However after
running "courier-dovecot-migrate.pl" the Courier-Files still remain in
the Maildir.
Can i just delete those Courier-specific-files or does dovecot need them
somehow (do you normally get rid of these after conversion)?
courierimapacl
courierimapsubscribed
courierimapuiddb
courierpop3dsizelist
courierimaphieracl
courierimaphieracl
Can i simply delete those with "find" ?
I 'migrated' a few years back from Courier to Dovecot without a script.
A few weeks ago I noticed those same files, and removed them with
`find`. I haven't noticed any degradation whatsoever :P.
Loading...