[Dovecot] Processing too fast?

Sean Kamath kamath at geekoids.com
Thu May 17 07:51:26 EEST 2007


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


On May 15, 2007, at 2:16 AM, Johannes Berg wrote:

> On Mon, 2007-05-14 at 14:56 -0700, Daniel L. Miller wrote:
>
>> Is Dovecot grabbing the file from "new" and moving it to "cur" faster
>> than ASSP can write?
>
> Possible, if it uses inotify there.
>
>>  How can I get around this?  ASSP only allows for a
>> folder to save each category to - I can't specify an LDA.
>
> Well if it's writing maildir it should open a new file in tmp/,  
> write to
> it and then move it to new/ instead of opening a file in new/ and
> writing to it.


I agree that's the right thing to do, but I'm curious: Does dovecot  
relink the file, or copy?  If it links the file (i.e., mv) then the  
process writing the file shouldn't have any problems, and the file  
should be written correctly. . .

Sean
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGS99VA7vyqo9ewCgRAsAyAKDTt3Sf5NhYi8yngt+ll2IZoaXuEQCgj2ao
xfYfgBXyKIz0sn9nktt7PdE=
=A3q/
-----END PGP SIGNATURE-----


More information about the dovecot mailing list