-----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.

Bye,

- -- Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJSQ7hVJMDrex4hCIRAqaNAKCKyrEcPW85SDfaG9yPtfZykcnd4gCgh6NO
6U/LNINHUzfoogMzaCAVdvw=
=5Nsb
-----END PGP SIGNATURE-----

Reply via email to