On Fri, 2006-09-22 at 11:05 -0600, Robert Creager wrote:
Timo Sirainen wrote:
The way maildir delivery works is:
create the file in tmp/ hardlink it to new/ unlink from tmp/
The last two steps could be done with a rename() which would fix the JFS problem, but since there's a tiny (practically non-existent with Dovecot) possibility of that overwriting a mail file in new/ dir, link()+unlink() is done.
Alright. Would using Dovecot's LDA (using procmail now) solve the problem a slightly different way? Or is the LDA just good for updating the index files?
No. Everything that writes to maildir uses the link() + unlink() method. Although if you did use Dovecot LDA, you could change the link()+unlink() to rename() call only in Dovecot's sources.. I'd still just suggest upgrading the kernel. :)