[comp.unix.ultrix] Sendmail problem under Ultrix 4.1

mike@apex.yorku.ca (Mike Marques) (04/22/91)

Greetings...

I'm running Ultrix 4.1 on a DECstation 2100 and some of my mail messages
are leaving my machine with double angle brackets around them.  
They get bounced with errors like the following:

Error in "to" envelope address:

	<< @ugw.utcs.utoronto.ca:somewhere@on.bitnet> >
	 ^-expected word, illegal end of route address, missing end of address

Has anyone seen this and know of a fix?  I'm using a the stock
sendmail.cf with no changes to the default sendmail.cf rules.
Thanks in advance...

							Mike

--
          Mike Marques               )(  Usenet: ......!utzoo!yunexus!mike 
 Computing & Communications Services )(          mike@outland.yorku.ca
   (IT division),  York University.  )(  Bitnet: mike@yulibra
   Only visiting this planet...      )(  Voice: (416) 736-5257

jch@hollie.rdg.dec.com (John Haxby) (04/23/91)

I don't know how this happens: ruleset four contains:

R$*<$+>$*	$1$2$3		defocus
R@$+:$+:$+	@$1,$2:$3	<route-addr> canonical
R@$+:$+		$@<@$1:$2>	route-addr needs <>

(this says, remove the angle brackets, fix up source-routed
addresses and put the angle brackets back for source routed
addresses).

Even if there is a spare pair of angle brackets on the way into
these rules, the first one would strip them off (in a strange order,
but it would strip them off).

The problem appears to be in the envelope of the message.
Taking a look at sendmail 5.65, I can see exactly the
same problem: I quote:

	smtpmessage("MAIL From: <%s>", m, buf);
and
	smtpmessage("RCPT To: <%s>", m, to->q_user);

By all means log an SPR, but be aware that you are likely
to get nested angle brackets from other MTAs, sigh.

-- 
John Haxby, Definitively Wrong.
Digital				<jch@wessex.rdg.dec.com>
Reading, England		<...!ukc!wessex!jch>