[Dovecot] Maildir files with mtime in the future

Holger Weiss holger at CIS.FU-Berlin.DE
Fri Apr 3 19:55:03 EEST 2009


* Timo Sirainen <tss at iki.fi> [2009-04-03 12:44]:
> 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. :(

No problem.

> I also changed it so that it allows times 2 hours into the future (I'm
> not sure why I chose exactly 2 hours).

Sounds good.

Thank you, Holger


More information about the dovecot mailing list