Article View: net.mail.headers
Article #565Sendmail munges addresses containing dollar signs.
From: Jon Solomon
Date: Sun, 08 Sep 1985 17:19
Date: Sun, 08 Sep 1985 17:19
23 lines
1330 bytes
1330 bytes
You probably can't get the sendmail.cf file to deal with this, as it
is the primary reason for the $'s existance in the parsing rules. Like
any "quote character", sending two of them generally allows one to
pass through. You will probably have to modify the source to sendmail
(if you have it) to explicitely copy the To: field byte by byte, adding
an extra $ for each $ encountered. Such a fix is trivial:
fix_to_line(to_line)
char *to_line;
{
char line[MAX];
int i, len, j = 0;
len = strlen(to_line);
for (i = 0; i < len; i++) {
if (to_line[i] == '$')
line[j++] = '$';
line[j++] = to_line[i];
}
return(&line);
Cheers,
--JSol
Technical Details
Message-ID:
<1365@brl-tgr.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!JSOL%BUCS20%bostonu.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!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!JSOL%BUCS20%bostonu.csnet@CSNET-RELAY.ARPA From: JSOL%BUCS20%bostonu.csnet@CSNET-RELAY.ARPA (Jon Solomon) Newsgroups: net.mail.headers Subject: Sendmail munges addresses containing dollar signs. Message-ID: <1365@brl-tgr.ARPA> Date: Sun, 8-Sep-85 13:19:05 EDT Article-I.D.: brl-tgr.1365 Posted: Sun Sep 8 13:19:05 1985 Date-Received: Wed, 11-Sep-85 07:03:51 EDT Sender: news@brl-tgr.ARPA Lines: 23