[Dovecot] maildir, zlib and mtime/internal date

Timo Sirainen tss at iki.fi
Fri Aug 29 20:24:09 EEST 2008


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:

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080829/f61110ca/attachment.bin 


More information about the dovecot mailing list