[Dovecot] Empty message headers (was Re: v1.1.6 released)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Dec 17 16:38:23 EET 2008


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


More information about the dovecot mailing list