Article View: net.mail.headers
Article #561Sendmail munges addresses containing dollar signs.
From: mcgregor%hplabs.csnet
Date: Sat, 07 Sep 1985 20:28
Date: Sat, 07 Sep 1985 20:28
45 lines
2725 bytes
2725 bytes
---------- "Sendmail munges addrs containing dollar signs" ----------
We have begun mail service with a mail system in which users names contain
dollar signs ($). We are using Sendmail on an Amdahl 470 running V.2 Unix.
Whenever we mail to an address containing a dollar sign, or receive mail
which contains a dollar sign in the To address field it gets munged by
Sendmail. Specifically, the mail will be delivered with the TO field
slightly altered. For example, mail to going into sendmail like this,
To: mvs!$scott becomes
To: mvs!cott while
To: mvs!$will becomes
To: mvs!hpcccill
The reason for this strange behavior is that sendmail is interpretting
the imbedded dollar sign and trailing character as a sendmail macro.
"$s" in our sendmail.cf file isn't defined, so it comes out null, while
"$w" is our local host name, so it comes out expanded as the host name.
Now, only the text of the TO message is munged, the user name and host
name passed as parameters to the mailer get the original name containing
the dollar sign. Thus, at present, we can get the right parameter but the
wrong text, or, by using sending to $$scott we can get $scott to appear in
the To: field, but then the parameter (still $$scott) is wrong.
Our question is how to get sendmail to pass the dollar sign containing
addresses without munging them. We have already identified ways of dealing
with these dollar sign addresses non-transparently, but we are still
wondering if we can pass mail containing dollar signs without munging
them. If anyone has already done this and can
send me the proper sendmail.cf config definitions, I would appreciate a
copy. Also, if someone hasn't done this but finds this an interesting
puzzle and comes up with something that should work send me a copy.
(I doubt that others in this forum would have much interest, so it
is probably best to mail to me directly.) Thanks!
Scott McGregor
...!hplabs!hpccc!mcgregor
HP Corporate Computing Center
Technical Details
Message-ID:
<1345@brl-tgr.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!hpccc!mcgregor%hplabs.csnet@CSNET-RELAY.ARPAShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!hpccc!mcgregor%hplabs.csnet@CSNET-RELAY.ARPA From: mcgregor%hplabs.csnet@CSNET-RELAY.ARPA Newsgroups: net.mail.headers Subject: Sendmail munges addresses containing dollar signs. Message-ID: <1345@brl-tgr.ARPA> Date: Sat, 7-Sep-85 16:28:03 EDT Article-I.D.: brl-tgr.1345 Posted: Sat Sep 7 16:28:03 1985 Date-Received: Mon, 9-Sep-85 03:57:38 EDT Sender: news@brl-tgr.ARPA Lines: 45