Article View: comp.mail.misc
Article #1402Fix for Berkeley mail breaking some return addresses
From: Paul Pomes - UofIllinois CSO
Date: Thu, 12 Jul 1990 19:22
Date: Thu, 12 Jul 1990 19:22
58 lines
2148 bytes
2148 bytes
This may be of more than casual interest to those wanting to shoot the
Berkeley mail program...
Subject: /usr/ucb/mail botches some return addresses
Index: ucb 4.3BSD-tahoe
Description:
Given a message with a mix of relative and fully-qualified addresses,
/usr/ucb/mail will apply parts of the fully-qualified domain name to
the relative recipients.
Repeat-By:
Given a message like the following:
From bscheid Wed Jun 6 16:13:06 1990
Date: Wed, 6 Jun 90 16:12:58 -0500
From: Beth Scheid <bscheid@ux1.cso.uiuc.edu>
To: krol
Subject: TCP Product
Cc: andys, bscheid, german
(text deleted)
Using the 'r' (reply) command creates the following:
To: ux1.uiuc:krol@edu bscheid@ux1.cso.uiuc.edu
Subject: TCP Product
Cc: ux1.uiuc:andys@edu ux1.uiuc:bscheid@edu ux1.uiuc:german@edu
Fix:
The cause is that "." is being used as one of the address separators.
My guess that this is a holdover from the BerkNet days. The fix is
to eliminate "." from the list of separators in config.c. Apply the
following patch and re-compile:
*** /tmp/,RCSt1014232 Thu Jun 7 10:41:16 1990
--- config.c Thu Jun 7 10:38:50 1990
***************
*** 29,35 ****
/*
* Set of network separator characters.
*/
! char *metanet = "!^:%@.";
/*
* Host table of "known" hosts. See the comment in configdefs.h;
--- 29,35 ----
/*
* Set of network separator characters.
*/
! char *metanet = "!^:%@";
/*
* Host table of "known" hosts. See the comment in configdefs.h;
--
Paul Pomes
UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu
US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2987
Technical Details
Message-ID:
<1990Jul12.192200.877@ux1.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paulShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) Newsgroups: comp.mail.misc Subject: Fix for Berkeley mail breaking some return addresses Message-ID: <1990Jul12.192200.877@ux1.cso.uiuc.edu> Date: 12 Jul 90 19:22:00 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 58