[Dovecot] deliver and time

Timo Sirainen tss at iki.fi
Mon Oct 4 22:53:23 EEST 2010


On 4.10.2010, at 20.35, Rick Romero wrote:

> What I don't understand is why the timestamp would be different with deliver.   What's odd is that the time in the filename itself appears correct.   Weird.
> 
> I'm calling deliver from procmail like so:
> #|/usr/bin/env -i HOME=$DOMDIR /usr/local/libexec/dovecot/deliver

deliver doesn't change the file's mtime, it just uses whatever time OS assigns it (or NFS server). I don't know if vdelivermail explicitly changes it. You could strace both and grep for "utime" from the output. And you could check what the timestamp is if you simply do "echo > foo" in the NFS mount.



More information about the dovecot mailing list