On Wed, 2010-07-14 at 13:12 -0700, Brad Davidson wrote:
-----Original Message-----
- is there any way of having dovecot to calculating the S= and W= parameters and renaming those files and, thus, avoiding some negative impact caused by the lack of them ?
Anyway, the filenames themselves can't be renamed, because the ,S=xx,W=yy is part of the "maildir base filename", and changing it assigns a new UID for the message.
If he's restoring from an old machine (they're not currently indexed by Dovecot on the new server), they're going to get a new UID when Dovecot finds them anyway, right?
Yes. But I was thinking he had already moved them and they had already got new UIDs :)
If he copied them from the old server into folder/new on the new one, would Dovecot add the S and W flags when it moves them to folder/cur?
No, because that would change the base filename. (Also the base filename may be exported to POP3 clients as the message UIDL, so it just can't be changed safely.)
If the messages were delivered to user via deliver, then they would get new base filenames with the S and W fields.