Subject: header parsing pine problem...

From: Bruno Boettcher <[email-masked]>
Date: Fri, 29 Nov 1996 11:08:24 +0100 (MET)

hello,

once more today i wondered about the missing subject of some of my
incoming mail...

i noticed that every mail coming from the X.400 world lacked a subject...

now i looked into the headers and found a Subject Field..., so why isn't it
recognized?

i put into the appendice first a header of a X.400 mail (Subject not
recognized, and after a header of normal SMTP-mail, header recognized)
I do not see major differences with the Subject-Tag, so what shall be made
to make the X.400-coming Subject visible?

============X.400===============================

---

From: Andrej Borsenkow <[email-masked]>
Date: Fri, 29 Nov 1996 13:32:44 +0300 (MSK)

> now i looked into the headers and found a Subject Field..., so why isn't it
[ ... snipped ... ]
> >From [email-masked] Fri Sep 15 08:36:58 1995
> Return-Path: [email-masked]
> Received: from sicmail.epfl.ch ([email-masked] [128.178.50.31]) by erm1.u-st
> rasbg.fr (8.6.12/8.6.9) with SMTP id IAA20475; Fri, 15 Sep 1995 08:36:56 +0200
> Status: RO
> X-Status: 
> 
> X400-Received: by mta sicmail.epfl.ch in /PRMD=switch/ADMD=arCom/C=ch/;
[ ... snipped ... ]

You *don't* have Subject: any more - the X-Status: is followed by blank
line, and anything after it becomes a body :-( It is problem of your local
mail delivery program, which treats X400-* header as start of *body*.

But I am just curious, what system do you use? I have seen the same
problem on our systems as well when usin /bin/mail (rmail is just a link
to /bin/mail) - it choked on every unknown header (not only X... -
MIME-Version: would do as well ;)

But I didn't spend time to investigate it - I am pretty happy with
sendmail/procmail/Pine.

greetings

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: [email-masked]
-------------------------------------------------------------------------

---

From: Bruno Boettcher <[email-masked]>
Date: Fri, 29 Nov 1996 11:41:16 +0100 (MET)

> mail delivery program, which treats X400-* header as start of *body*.
what about lines beginning with trailing blanks?

> But I didn't spend time to investigate it - I am pretty happy with
i am now using qmail/deliver/pine, but i had exactly the same problem as i
was using sendmail/deliver/pine....

i suspect it is more a problem with the X.400/SMTP gateway than one of my
local system....
But i think that i have not enough authority to  let it fix by the
responsible persons :)
thsu i need a local fix...

ciao
[email-masked] 

==============================================================
[email-masked]
http://www-ensps.u-strasbg.fr/~bboett/ (official & not reliable)
http://erm6.u-strasbg.fr/~bboett/ (inofficial & reliable :)
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....

---

From: Ed Greshko <[email-masked]>
Date: Fri, 29 Nov 1996 18:48:10 +0800 (GMT)

> to make the X.400-coming Subject visible?

	Is there really a "blank-line" below where I've added an "*"

> *  <----Blank line here????
> Relayed;
>                Fri, 15 Sep 1995 08:32:22 +0200
> Date: Fri, 15 Sep 1995 08:32:22 +0200
> X400-Originator: [email-masked]
> X400-Recipients: non-disclosure:;
> X400-MTS-Identifier:
> [/PRMD=switch/ADMD=arCom/C=ch/;sicmail.ep.583:15.08.95.06.3
> 2.22]
> Priority: Non-Urgent
> DL-Expansion-History: [email-masked] ; Fri, 15 Sep 1995 08:32:20 +0200;
> From: "Jean-michel.Berge" <[email-masked]>
> Message-ID: <n1400969387.40484@msmail>
> To: analog_reflector <[email-masked]>
> Subject: DASC Meetings in October
> X-Mailer: Mail*Link SMTP/MS 3.0.0

	If so, that is your problem as the blank line denotes the end
of the headers and the "Subject:" line appears after that.  The problem
then becomes, what is putting the blank line there????

	Ed

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
Voice: +886-2-715-2222 x287        6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197             Taipei, Taiwan R.O.C

---

From: Andrej Borsenkow <[email-masked]>
Date: Fri, 29 Nov 1996 14:11:09 +0300 (MSK)

> was using sendmail/deliver/pine....

Just one thing to note - you are still using the same local delivery
program (deliver).

> i suspect it is more a problem with the X.400/SMTP gateway than one of my

[ from first message ]
Return-Path: [email-masked]
Received: from sicmail.epfl.ch ([email-masked] [128.178.50.31]) by          
erm1.u-strasbg.fr (8.6.12/8.6.9) with SMTP id IAA20475; Fri, 15 Sep 1995
08:36:56 +0200  
Status: RO                                                                      
X-Status:                                                                       
  < ---- trailing blank line

It would mean, that your sedmail gets message without *any* header in it
at all!!! I suspect, it would add at least Mesage-Id: to it. 

> But i think that i have not enough authority to  let it fix by the

You can always make an official bug report to maintainers of your mail
server, don't you?

> thsu i need a local fix...

The fix you propose just is not possible :(

greetings