Subba Rao <[EMAIL PROTECTED]> wrote:
> I use Maildir format for my incoming mail. In the past, I have used maildrop
> as my MDA and now I have switched to procmail. I use Mutt as my MUA and have
> converted (today) some email from mbox to maildir format. The naming
> convention of each mail is different for procmail vs maildrop (and mutt
> converted) email.

The way names are chosen for files in Maildir/tmp (which are moved to
Maildir/new when delivery is complete) should not differ among agents.
The right way to do it is clearly spelled out at:
http://cr.yp.to/proto/maildir.html

It's necessary for all agents to use the same rules to prevent
collisions.

> The format is listed as follows,
> 
> -rw-------  1 subba  users     3599 Mar 28 07:32 985764747.20966_23.myhost:2,S
> -rw-------  1 subba  users    28883 Mar 28 01:55 __XE,5RUw6.myhost:2,S

The first one is correct.  The second one does not follow djb's rules
for naming the file.  If procmail wrote it, your version of procmail is
broken.

> How are these random names generated? Is this name generation the property of
> MUA such as mutt also? I thought it was the domain of MDAs.

It's part of the Maildir spec.  The MDA names the file; the MUA can add
flags to it after it first sees it.  The ":2,S" is added by mutt, and is
legal.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to