[Dovecot] maildir, zlib and mtime/internal date
On the wiki: http://wiki.dovecot.org/Plugins/Zlib
I think there should be a step 5.0. along the lines of
"get and remember the original message file's mtime"
And a step 5.4 like
"Using the touch command or some other method, set the now compressed
message's mtime back to the mtime of the original message file."
To preserve the message's internal time in case the indices ever get
rebuilt.
Does this sound right?
On Fri, 2008-08-29 at 13:18 -0400, Richard Platel wrote:
On the wiki: http://wiki.dovecot.org/Plugins/Zlib
I think there should be a step 5.0. along the lines of
"get and remember the original message file's mtime"
And a step 5.4 like "Using the touch command or some other method, set the now compressed
message's mtime back to the mtime of the original message file."To preserve the message's internal time in case the indices ever get
rebuilt.Does this sound right?
It was actually already in step 2:
- Compress the mails to tmp/ (and update their mtimes)
I updated it to be a bit clearer now. Anyway it can be safely done before locking the maildir.
participants (2)
-
Richard Platel
-
Timo Sirainen