[Dovecot] Maildir files with mtime in the future

Timo Sirainen tss at iki.fi
Fri Apr 3 19:44:12 EEST 2009


On Thu, 2009-04-02 at 19:36 +0200, Holger Weiss wrote:
> However, if the client does so, Dovecot will set the mtime of the
> Maildir file in question to the date specified by the client even if
> it's in the future.  Since files with an mtime in the future can cause
> all sorts of trouble (e.g., they might get backed up repeatedly by
> incremental backups), it would be nice if Dovecot would (optionally?)
> use the current time if the client specifies a time in the future.  For
> example, we use the following patch:

Committed the patch, but forgot to add your name to the commit message,
sorry. :( I also changed it so that it allows times 2 hours into the
future (I'm not sure why I chose exactly 2 hours).
-------------- 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/20090403/3d677f78/attachment.bin 


More information about the dovecot mailing list