Re: split message

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jim Gottlieb
CC: exim-users
Subject: Re: split message
On Wed, 29 Oct 1997, Jim Gottlieb wrote:

> All incoming messages here are fine, except for those that originate or
> pass through our system in Japan. Since I changed over to exim, any
> message from Japan looks like this:
>
> -------------------------------------------------------------
> >From root@??? Wed Oct 29 08:41:14 1997
> Return-path: <root@???>
> Envelope-to: jimmy@???
> Delivery-date: Wed, 29 Oct 1997 08:41:14 -0800
> Received: from slip.denwa.linc.or.jp [202.17.215.177] 
>         by sinden.info.com with smtp (Exim 1.73 #1)
>         id 0xQbBA-0003QR-00; Wed, 29 Oct 1997 08:41:13 -0800
> From: root@???
> Bcc:
> Date: Wed, 29 Oct 1997 08:41:13 -0800
> Status: OR

>
> >From root@??? Thu Oct 30 01:41:12 1997
> Received: by tokyo07.denwa.linc.or.jp (Smail3.1.29.1 #1)
>         id m0xQb0O-0001MCC; Thu, 30 Oct 97 01:30 JST
> Message-Id: <m0xQb0O-0001MCC@???>
> Date: Thu, 30 Oct 97 01:30 JST
> From: root@??? (Tokyo Admin)
> To: jimmy@???
> Subject: Tokyo VM

>
> [Message body here]
> -------------------------------------------------------------
>
> Nothing on the Japan side has changed in years. Anyone have any idea
> what's going on? I don't see anything unusual in the logs.


Looks like some unexpected line of text that isn't a header is getting
sent with the message, causing Exim to think it has reached the body of
the message prematurely. My guess is the line

From root@??? Thu Oct 30 01:41:12 1997

Exim handles such leading lines only for non-smtp local messages, since
they contravene RFC 822. The comment in the code reads as follows:

    WORMCAN. It turns out that smail, and presumably sendmail, accept leading
    lines of the form


    From ph10 Fri Jan  5 12:35 GMT 1996 


    in messages. The "mail" command on Solaris 2 sends such lines. I cannot
    find any documentation of this, but for compatibility it had better be
    accepted. Exim restricts it to the case of non-smtp messages, and
    treats it as an alternative to the -f command line option. Thus it is
    ignored except for trusted users or filter testing. Otherwise it is taken
    as the sender address, unless -f was used (sendmail compatibility).


Philip

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/