[Dovecot] Upgrade from 0.99.x to 1.1.x
Hi!
I want to upgrade a Dovecot installation from 0.99.14 to 1.1.15, so I had a look at the following wiki article:
http://wiki.dovecot.org/Upgrading?action=show&redirect=UpgradingDovecot
The article http://wiki.dovecot.org/Upgrading/1.0 says something about .customflags -> dovecot-keywords and .subscriptions -> subscriptions change/conversion:
http://wiki.dovecot.org/Upgrading/1.0#Subscriptions http://wiki.dovecot.org/Upgrading/1.0#Keywords
Do I understand it correctly that when directly upgrading from 0.99 to 1.1, Dovecot does the subscriptions renaming but not the keywords renaming and conversion, but that when I manually rename all .customflags files to dovecot-keywords, it does the format conversion of that file automatically?
Is there anything else what's important to note for such an upgrade? The system is using Maildir as the mailbox format and only local storage (no NFS etc.).
Regards, Wolfram Schlich wschlich@gentoo.org Gentoo Linux * http://dev.gentoo.org/~wschlich/
- Wolfram Schlich lists@wolfram.schlich.org [2009-04-07 17:02]:
I want to upgrade a Dovecot installation from 0.99.14 to 1.1.15,
...that should have been 1.1.13, of course ;)
Regards, Wolfram Schlich wschlich@gentoo.org Gentoo Linux * http://dev.gentoo.org/~wschlich/
On Apr 7, 2009, at 11:02 AM, Wolfram Schlich wrote:
Do I understand it correctly that when directly upgrading from 0.99 to 1.1, Dovecot does the subscriptions renaming but not the keywords renaming and conversion, but that when I manually rename all .customflags files to dovecot-keywords, it does the format conversion of that file automatically?
All 0.99 .customflags conversion code has been removed from v1.1. If
you want to make things easier, upgrade to v1.0 first. Or if you don't
actually use any IMAP keywords (find ~/Maildir -name '*:2,*[a-z]*'),
you might just as well delete the files.
Is there anything else what's important to note for such an upgrade? The system is using Maildir as the mailbox format and only local storage (no NFS etc.).
Other than the keyword/subscription changes, there shouldn't be
problems.
- Timo Sirainen tss@iki.fi [2009-04-07 17:51]:
On Apr 7, 2009, at 11:02 AM, Wolfram Schlich wrote:
Do I understand it correctly that when directly upgrading from 0.99 to 1.1, Dovecot does the subscriptions renaming but not the keywords renaming and conversion, but that when I manually rename all .customflags files to dovecot-keywords, it does the format conversion of that file automatically?
All 0.99 .customflags conversion code has been removed from v1.1. If
you want to make things easier, upgrade to v1.0 first. Or if you don't
actually use any IMAP keywords (find ~/Maildir -name '*:2,*[a-z]*'),
you might just as well delete the files.
Well, I'd have to make all users open all folders once to make Dovecot convert the files :( Not a solution. I guess I'll just delete the files, although the users actually have some customflags (Thunderbird stuff).
Regards, Wolfram Schlich wschlich@gentoo.org Gentoo Linux * http://dev.gentoo.org/~wschlich/
Wolfram Schlich wrote:
Do I understand it correctly that when directly upgrading from 0.99 to 1.1, Dovecot does the subscriptions renaming but not the keywords renaming and conversion, but that when I manually rename all .customflags files to dovecot-keywords, it does the format conversion of that file automatically?
Yes, that is correct. I did this same conversion about a year ago:
http://www.dovecot.org/list/dovecot/2008-March/029325.html
Is there anything else what's important to note for such an upgrade?
I do not remember any big problems with the conversion. However, lots of small problems with Dovecot just disappeared when getting rid of 0.99 ...
Anders.
On Wed, 2009-04-08 at 15:32 +0200, Anders Melchiorsen wrote:
Wolfram Schlich wrote:
Do I understand it correctly that when directly upgrading from 0.99 to 1.1, Dovecot does the subscriptions renaming but not the keywords renaming and conversion, but that when I manually rename all .customflags files to dovecot-keywords, it does the format conversion of that file automatically?
Yes, that is correct. I did this same conversion about a year ago:
http://www.dovecot.org/list/dovecot/2008-March/029325.html
Is there anything else what's important to note for such an upgrade?
I do not remember any big problems with the conversion. However, lots of small problems with Dovecot just disappeared when getting rid of 0.99 ...
For what it's worth I am gradually moving users from an old 0.99 install to a new 1.1 install and there have been no problems as long as the subscriptions file is renamed.
We deleted the other superseded files as they weren't required in our case.
Karl.
participants (4)
-
Anders Melchiorsen
-
Karl Latiss
-
Timo Sirainen
-
Wolfram Schlich