[Dovecot] Move from 1.0.rc29 to 1.1.7?
Hello! I am moving my mail from the old server with 1.0.rc29 to a brand new server with 1.1.7. I use Maildir in both servers. A few questions:
The new server has another name, can I just copy the mail files as-is, will the server name in the file names matter?
The new server has a different architecture and different endian, so I plan not to copy the index and cache files; they seem to have become broken from time to time in the old server anyway. Dovecot will also re-create them when needed. Ok?
1.0.rc29 did not store the message size in the file name as later versions. When will Dovecot do the check and rename the files to include the message size? There are some folders with quite large number of messages, the largest is some 45,000 messages.
TIA, /Peter
Peter Lindgren http://www.norrskenkonsult.com
On Tue, 2009-01-20 at 22:04 +0100, Peter Lindgren wrote:
Hello! I am moving my mail from the old server with 1.0.rc29 to a brand new server with 1.1.7. I use Maildir in both servers. A few questions:
- The new server has another name, can I just copy the mail files as-is, will the server name in the file names matter?
Just copy them.
- The new server has a different architecture and different endian, so I plan not to copy the index and cache files; they seem to have become broken from time to time in the old server anyway. Dovecot will also re-create them when needed. Ok?
Right.
- 1.0.rc29 did not store the message size in the file name as later versions. When will Dovecot do the check and rename the files to include the message size? There are some folders with quite large number of messages, the largest is some 45,000 messages.
It doesn't rename anything and it also doesn't require sizes in the file names.
So your upgrade should go just fine.
Timo Sirainen skrev:
On Tue, 2009-01-20 at 22:04 +0100, Peter Lindgren wrote:
- 1.0.rc29 did not store the message size in the file name as later versions. When will Dovecot do the check and rename the files to include the message size? There are some folders with quite large number of messages, the largest is some 45,000 messages.
It doesn't rename anything and it also doesn't require sizes in the file names.
The new server seems to have this function on by default, can I force this renaming (by will or by mistake)?
/Peter
Peter Lindgren http://www.norrskenkonsult.com
On Tue, 2009-01-20 at 22:35 +0100, Peter Lindgren wrote:
Timo Sirainen skrev:
On Tue, 2009-01-20 at 22:04 +0100, Peter Lindgren wrote:
- 1.0.rc29 did not store the message size in the file name as later versions. When will Dovecot do the check and rename the files to include the message size? There are some folders with quite large number of messages, the largest is some 45,000 messages.
It doesn't rename anything and it also doesn't require sizes in the file names.
The new server seems to have this function on by default, can I force this renaming (by will or by mistake)?
Dovecot v1.1 will add the ,W= file sizes to file names always, it's not configurable. But it works fine even if the sizes don't exist all files.
Timo Sirainen skrev:
On Tue, 2009-01-20 at 22:35 +0100, Peter Lindgren wrote:
The new server seems to have this function on by default, can I force this renaming (by will or by mistake)?
Dovecot v1.1 will add the ,W= file sizes to file names always, it's not configurable. But it works fine even if the sizes don't exist all files.
I tested now with a folder with a handful of messages. Works fine, and the filenames are without ,W=filesize (as copied from old server).
My question is: can I force dovecot to recalculate the size and do a rename on existing files? Just so I know I can't do it by accident when I'm under time pressure and have to wait a long time...
TIA, and just so you know it (as if you didn't already), dovecot is an excellent piece of software!
Peter
Peter Lindgren http://www.norrskenkonsult.com
On Tue, 2009-01-20 at 23:02 +0100, Peter Lindgren wrote:
Timo Sirainen skrev:
On Tue, 2009-01-20 at 22:35 +0100, Peter Lindgren wrote:
The new server seems to have this function on by default, can I force this renaming (by will or by mistake)?
Dovecot v1.1 will add the ,W= file sizes to file names always, it's not configurable. But it works fine even if the sizes don't exist all files.
I tested now with a folder with a handful of messages. Works fine, and the filenames are without ,W=filesize (as copied from old server).
My question is: can I force dovecot to recalculate the size and do a rename on existing files? Just so I know I can't do it by accident when I'm under time pressure and have to wait a long time...
If you change the maildir filename you'll change the base filename, which means the messages will get new IMAP UIDs. You don't really want that. So there's no way to force Dovecot to do that either. But I don't really see a need for it either. If Dovecot v1.1 doesn't have the file size it calculates it and then writes it to dovecot-uidlist, that's just as good as it being in the filename.
participants (2)
-
Peter Lindgren
-
Timo Sirainen