nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?


From: Ken Hornstein
Subject: Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?
Date: Wed, 14 Feb 2018 14:22:56 -0500

>    > On that same IMAP-managed directory ... well, what exactly HAPPENS there
>    > is a bit unclear to me.  Specifically, the IMAP servers I've looked at
>    > (Cyrus-IMAP and Dovecot are the ones talked about here) all maintain
>    > their own index into the Maildir directory.  If we put a new file in
>    > their mailbox without updating the index, what exactly will happen?
>
>isn't that equivalent to having the MTA deliver email into that Maildir?

Well, good question!  I believe the answer to that is "no".

You can read the base specification here:

        https://cr.yp.to/proto/maildir.html

The idea is when you are delivering a new message into a Maildir, you
first write it to the "tmp" directory, then rename it to the "new"
directory.  Then something (presumably your IMAP server or MUA) will
notice the new file in "new" and then move that file into "cur".

Now if we refile a message, do we put those messages in "new"?  Maybe?
But then they won't be visible to other programs until the true "manager"
of that mailbox notices it.  If we scan a Maildir folder, should we be
in charge of moving stuff from new into cur?  Maybe?  Maybe not?  You
tell me!

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]