Subject: Problems with From address

From: Denis Hickey <[email-masked]>
Date: Fri, 12 Feb 1993 12:51:41 +0000 (WET)

I have been using Pine (3.05) on an Ultrix platform for some time and
find it excellent. However a problem has arisen over the past few days,
which hasme puzzled. On certain messages, the From: field is being
incorrectly parsed. Eg.

With Header info on here is the From address

Ned Freed <<@INTERBIT.BITNET:[email-masked]>>

however the message is showing as coming from

	[email-masked]    where itdsrv1.ul.ie is my own domain address.

The entry in .pine-debug file is this:

Userid: hickeyd
Fullname: "Denis Hickey"
Password: 3W6wMB93KHTsY
User domain name being used ""
Local Domain name being used "ul.ie"
Host name being used "itdsrv1.ul.ie"
Mail Domain name being used "itdsrv1.ul.ie"
new win size -----<24 80>------
Terminal type: vt100
About to open folder "inbox"    inbox: "inbox"
Opened folder "/usr/spool/mail/hickeyd" with 2 messages
Sorting by arrival

 ---- MAIL INDEX ----
IMAP 11:50 2/12 mm_log parse: Must use comma to separate addresses: Freed <<@INTERBIT.bitnet:[email-masked]>>
IMAP 11:50 2/12 mm_log parse: Must use comma to separate addresses: Freed <<@INTERBIT.bitnet:[email-masked]>>

Can anyone throw some light on this.

	Thanks,

		Denis
-------------------------------------------------------------------------------
Denis Hickey	Information Technology Dept	Email: [email-masked]
		University of Limerick	        Phone: +353-61-333644
		Eire
-------------------------------------------------------------------------------

---

From: Laurence Lundblade <[email-masked]>
Date: Fri, 12 Feb 1993 09:24:27 -0500 (EST)

It's not a legal RFC-822 address is all the problem:

 "Ned Freed <<@INTERBIT.BITNET:[email-masked]>>"

It shouldn't have the double "<". I don't know where they are coming from,
but it looks like some gateway is not doing the right thing. Perhaps Mark
can shed some more light on this. 

LL

---

From: Mark Crispin <[email-masked]>
Date: Fri, 12 Feb 1993 13:59:47 -0800 (PST)

Denis -

     The problem is with the two angle brackets in the address
	Ned Freed <<@INTERBIT.BITNET:[email-masked]>>
This totally confuses Pine's parser, which looks for addresses in the
following order:
	human name <@relay:user@host>
	human name <user@host>
	user@host
	user
What happens is that ``Ned'' satisfies the final rule.  It then expects to see
a comma or the end of string; instead, it encounters ``Freed''.

     Garbage In, Garbage Out...  ;-)

     My suspicion is that the INTERBIT gateway was responsible for this.  Most
likely, it left Ned's machine as
	Ned Freed <[email-masked]>
and the INTERBIT gateway has a rule that says ``turn user@host into
<INTERBIT.BITNET:user@host>'', failing to check for the address already being
in the bracketed format.

     Please let me know if there is anything I can do to assist you in
composing a bug report to the INTERBIT gateway maintainer.

-- Mark --

---

From: Denis Hickey <[email-masked]>
Date: Fri, 19 Feb 1993 15:08:45 +0000 (WET)

Thanks for the help on this matter. The problem has been fixed at the
offending gateway.

	Denis