On Dec 17, 2008, at 4:38 PM, Steffen Kaiser wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 17 Dec 2008, Timo Sirainen wrote:

1)
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/.

Yes, therefore I tested the other cases, too, where the mail is written to tmp first.

Then I didn't really understand your mail. You could reproduce the error with all 1) to 4) cases? But the rawlogs were only from the 1) case? Why not from a case that wasn't supposed to have been broken? :)

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to