[Dovecot] link() problem with dovecot-imapd
Timo Sirainen
tss at iki.fi
Sat Sep 4 12:17:41 EEST 2004
On 4.9.2004, at 03:38, James Ray wrote:
>> Maildir standard says to use link(), but I suppose it could fallback
>> to rename() too.. Hmm. I'm just not sure if it's worth it to
>> implement, it's useless bloat for most people.
>> And it's not just copying, it's saving messages in general which
>> fails with you.
>
> any chance of someone either
> a) knocking me up a quick patch for this
> b) pointing me in the general direction of where I should be looking
> to write such a patch.
src/lib-storage/index/maildir/maildir-save.c. Just replace the two
link() calls to rename(). The unlink() call after them can also be
removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040904/7c099c33/PGP.pgp
More information about the dovecot
mailing list