Re: Inital "From_" line

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tom Samplonius
Fecha:  
A: Dom Mitchell
Cc: exim-users
Asunto: Re: Inital "From_" line

On Sat, 10 May 1997, Dom Mitchell wrote:

> I know that it shouldn't be there in the first place, but on reading the
> exim manual, I was inclined to believe that it would ignore an initial
> From_ line, possibly trying to set the envelope sender (if allowed).
> However, I have found today (by playing with mh's dist) that it treats
> the entire message as body, bar the initial From_ line! Naturally, what
> happens is that the message gets bounced. Here's a sample:


Exim handles From_ lines properly, as long as they are correct. If they
aren't, it treats it as the start of the body. Your From_line has a
mangled date part:

>From root@??? Fri May 02 02: 02:06 1997



Tom

> --------[ Cut Here ]----------------------------------------------------
>  -- using template mhl.format --
> Date:    Sat, 10 May 1997 16:43:20 BST
> To:      dom@???

>
> From:    Mail Delivery System <Mailer-Daemon@???>
> Subject: Mail failure - no recipient addresses

>
> Return-path: <>
> Envelope-to: dom@???
> Delivery-date: Sat, 10 May 1997 16:43:21 +0100
>
> A message that you sent contained no recipient addresses, and so no
> delivery could be attempted.
>
> ------ This is a copy of your message, including all the headers. ------
>
> Received: from dom by myrddin.demon.co.uk with local id 0wQEIq-0000AG-00; Sat,
> 10 May 1997 16:43:20 +0100
> Message-Id: <E0wQEIq-0000AG-00.qmail@???>
> From: Dominic Mitchell <dom@???>
> Date: Sat, 10 May 1997 16:43:20 +0100
>
> From root@??? Fri May 02 02: 02:06 1997
> Return-path: <root@???>
> Envelope-to: root@???
> Delivery-date: Fri, 2 May 1997 02:02:06 +0100
> Received: from root by myrddin.demon.co.uk with local id 0wN6hf-00007t-00; Fri,
> 2 May 1997 02:00:03 +0100
> Subject: myrddin daily run output
> Message-Id: <E0wN6hf-00007t-00.qmail@???>
> From: Charlie Root <root@???>
> To: root@???
> Date: Fri, 2 May 1997 02:00:03 +0100
> Resent-To: dom
> Resent-Date: Sat, 10 May 1997 16:43:20 +0100
> Resent-From: Dominic Mitchell <dom>
>
> --------[ Cut Here ]----------------------------------------------------
>
> Could somebody enlighten me as to what's going pear shaped here?
> Of course, if procmail didn't insist on putting those bloody lines
> there in the first place I wouldn't be in this mess, but there you
> are.
>
> Cheers,
> -Dom
>
>