dce@smsc.sony.com (David Elliott) (01/05/90)
Our sendmail.cf for SMTP machines (we used the Sun NFS distribution
sendmail.cf as a base) has the following ethernet mailer specification:
Mether, P=[TCP], F=msDFMuCX, S=11, R=21, A=TCP $h S11
R$*<@$+>$* $@$1<@$2>$3 already ok
R$+ $@$1<@$w> tack on our
hostname
S21 # None needed.
We use a distributed /usr/lib/aliases that has, for each person in the
company, an alias sending the mail to the proper machine. For example,
my alias is "dce@icky".
When I send mail from my machine (icky) to someone inside the company
without giving a domain, it tacks an "@icky" onto the To: line. That
is, mail to "tucker" comes out as mail to "tucker@icky".
If I remove the R$+ line, the To: line looks OK, but the From: line
doesn't get fixed to say "dce@icky" (I guess I should change it to say
dce@icky.sony.com, but that's easy -- just change $w to $j).
What I would like is to have the To: line contain the expanded
alias. Also, I would like to tack on the local domain name if
the route doesn't have one (i.e., foo@bar.edu stays as it is,
but foo@bar becomes foo@bar.smsc.sony.com).
Any ideas?
--
David Elliott
dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce
(408)944-4073
"But Pee Wee... I don't wanna be the baby!"