Re: [exim] missing header lines in mdir format

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John W. Baxter
Date:  
À: exim-users
Sujet: Re: [exim] missing header lines in mdir format
On 5/17/05 8:13 AM, "Meike Reichle" <mrei0999@???> wrote:

> I had this working before with the mbox format but now that I switched
> to maildir I noticed that the headers of the messages in these maildirs
> don't have the unixfrom line ("From user@adr date") that usually is at
> the top of every message. That causes me some problems, since we have
> some mail programs that won't recognize mail unless it has the unixfrom.
>
> Is there a way to have that line added? (I think it's actually even
> required by RFC 2822 ...)


The From line is specific to the mbox format (and perhaps others). In mbox,
it serves as (part of a) message separator.

It serves no function in maildir format, where the messages are in
individual files.

RFC 2822 has no say in how messages are stored on the host once received
(although they are generally pretty much as RFC 2822 wants them to be
transmitted). The From line is not transmitted in SMTP.

(I'm talking about the From<space> line, not the From: header. So were
you.)

See the Exim spec...you can force the spurious From line to be added if you
really want to. But it may surprise various programs.

--John