Article View: comp.mail.sendmail
Article #3449Fixing To: lines
From: David Elliott
Date: Thu, 04 Jan 1990 16:20
Date: Thu, 04 Jan 1990 16:20
33 lines
1725 bytes
1725 bytes
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!"
Technical Details
Message-ID:
<1990Jan4.162018.5021@smsc.sony.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: comp.mail.sendmail Subject: Fixing To: lines Message-ID: <1990Jan4.162018.5021@smsc.sony.com> Date: 4 Jan 90 16:20:18 GMT Reply-To: dce@smsc.Sony.COM (David Elliott) Organization: Sony Microsystems Corp. Lines: 33