home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / ucbMail.patch < prev    next >
Encoding:
Text File  |  1990-07-12  |  2.6 KB  |  82 lines

  1. [ Note: sources for /usr/ucb/Mail are on uunet.uu.net for those victims w.o.
  2.   sources.  -pbp ]
  3.  
  4. Written  2:30 pm  Jun  7, 1990 by paul@uxc.cso.uiuc.edu in uiuc.general
  5.     Note title: Fix to Berkeley mail
  6.  
  7. This may be of more than casual interest to those wanting to shoot the
  8. Berkeley mail program...
  9.  
  10. Subject: /usr/ucb/mail botches some return addresses 
  11. Index: ucb 4.3BSD-tahoe
  12.  
  13. Description:
  14.     Given a message with a mix of relative and fully-qualified addresses,
  15.     /usr/ucb/mail will apply parts of the fully-qualified domain name to
  16.     the relative recipients.
  17. Repeat-By:
  18.     Given a message like the following:
  19.  
  20.     From bscheid Wed Jun  6 16:13:06 1990
  21.     Date: Wed, 6 Jun 90 16:12:58 -0500
  22.     From: Beth Scheid <bscheid@ux1.cso.uiuc.edu>
  23.     To: krol
  24.     Subject: TCP Product
  25.     Cc: andys, bscheid, german
  26.  
  27.     (text deleted)
  28.  
  29.     Using the 'r' (reply) command creates the following:
  30.  
  31.     To: ux1.uiuc:krol@edu bscheid@ux1.cso.uiuc.edu
  32.     Subject: TCP Product
  33.     Cc: ux1.uiuc:andys@edu ux1.uiuc:bscheid@edu ux1.uiuc:german@edu
  34. Fix:
  35.     The cause is that "." is being used as one of the address separators.
  36.     My guess that this is a holdover from the BerkNet days.  The fix is
  37.     to eliminate "." from the list of separators in config.c.  Apply the
  38.     following patch and re-compile.  Alternatively, patch the master
  39.     ida/cf/Sendmail.mc file with the second patch below.  
  40.  
  41.     *** /tmp/,RCSt1014232    Thu Jun  7 10:41:16 1990
  42.     --- config.c    Thu Jun  7 10:38:50 1990
  43.     ***************
  44.     *** 29,35 ****
  45.       /*
  46.        * Set of network separator characters.
  47.        */
  48.     ! char    *metanet = "!^:%@.";
  49.       
  50.       /*
  51.        * Host table of "known" hosts.  See the comment in configdefs.h;
  52.     --- 29,35 ----
  53.       /*
  54.        * Set of network separator characters.
  55.        */
  56.     ! char    *metanet = "!^:%@";
  57.       
  58.       /*
  59.        * Host table of "known" hosts.  See the comment in configdefs.h;
  60.  
  61. =====Alternate ida/cf/Sendmail.mc patch=====
  62.     *** /tmp/,RCSt1007353    Thu Jul 12 13:12:05 1990
  63.     --- Sendmail.mc    Thu Jul 12 13:11:34 1990
  64.     ***************
  65.     *** 698,704 ****
  66.       #########################################################################
  67.       S10
  68.       
  69.     ! R<>,@$=w$=Y$+        <>,$3            Remove default host.
  70.       R<$+>$*$=Y$~A$*        $:<$1>$2$3?$4$5        Mark user portion.
  71.       R<$+>$*!$+,$*?$+    <$1>$2!$3!$4?$5        ! is inferior to @
  72.       R<$+>$+,$*?$+        <$1>$2:$3?$4        Change src rte to % path
  73.     --- 698,705 ----
  74.       #########################################################################
  75.       S10
  76.       
  77.     ! # The next line commented out for now; usr/ucb/Mail is broken.
  78.     ! #R<>,@$=w$=Y$+        <>,$3            Remove default host.
  79.       R<$+>$*$=Y$~A$*        $:<$1>$2$3?$4$5        Mark user portion.
  80.       R<$+>$*!$+,$*?$+    <$1>$2!$3!$4?$5        ! is inferior to @
  81.       R<$+>$+,$*?$+        <$1>$2:$3?$4        Change src rte to % path
  82.