17 Dec
2008
17 Dec
'08
4:32 p.m.
On Dec 17, 2008, at 4:27 PM, Steffen Kaiser wrote:
Then I perform (cross-device, "file" is unique through all cases):
- chown user file && mv file ~user/Maildir/new
You mean the source and destination are on different filesystems? Then
this is more or less expected, because then "mv" isn't an atomic
operation. Dovecot sees and reads the message before mv has finished
writing it. That's the point of having the tmp/ directory. Mails
should be written there first, then atomically renamed to new/.