[comp.unix.ultrix] Mail return address problem

cqny@vax5.cit.cornell.edu (11/14/90)

I've been having an ongoing problem with mail message return addresses:

Mail originates on VAX/VMS, sent through Ultrix DECnet/Internet gateway, to
an internet address.  The message is sent, but the return address
on the message looks like:
From: user%vmshost.dnet@ultrixhost

This works fine with 'local' internet addresses, but distant recipients
often complain that the return address lacks the fully-qualified domain
name for the ultrixhost, i.e.:
From: user%vmshost.dnet@ultrixhost.domain.cornell.edu

Has anyone fixed this problem; I find the rules in sendmail.cf rather opaque.
Please mail replies to marisa@cpa.tn.cornell.edu

thanx, -- Rich Marisa
Cornell Programmable Automation
(607) 255-7636

spider@dl10.tops20.dec.com (Spider Boardman) (11/28/90)

In article <1990Nov14.115020.1002@vax5.cit.cornell.edu> \
cqny@vax5.cit.cornell.edu (Rich Marisa) writes:

   I've been having an ongoing problem with mail message return addresses:

   Mail originates on VAX/VMS, sent through Ultrix DECnet/Internet gateway, to
   an internet address.  The message is sent, but the return address
   on the message looks like:
   From: user%vmshost.dnet@ultrixhost

   This works fine with 'local' internet addresses, but distant recipients
   often complain that the return address lacks the fully-qualified domain
   name for the ultrixhost, i.e.:
   From: user%vmshost.dnet@ultrixhost.domain.cornell.edu

In ruleset 14 (starting with a line beginning with "S14"), there is a rule
with the comment "gatewayed to/from dnet" (or something like it).  It uses the
macro $A to append the local host name.  Change it to use $j instead.  The
subsequent rule for UUCP gatewaying is similarly broken.  This works for me.
Then, follow the usual rules about re-freezing the sendmail.cf file and
restarting sendmail.
--
Spider Boardman					spider@decvax.dec.com
DEC Customer Service Operating Systems Support
200 Forest St.  MRO1-2/L14
Marlboro MA 01752				...decvax!spider