[Dovecot] Not getting new mail notification
Timo Sirainen
tss at iki.fi
Fri Sep 22 20:15:49 EEST 2006
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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060922/f97c2e34/attachment.pgp
More information about the dovecot
mailing list