home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / sendmail / 3153 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.5 KB

  1. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!bronto.zrz.tu-berlin.de!elsn4000
  2. From: elsn4000@bronto.zrz.tu-berlin.de (Frank Elsner)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: Aliases for local hosts in sendmail.cf
  5. Date: 12 Jan 1993 10:18:27 GMT
  6. Organization: TUBerlin/ZRZ
  7. Lines: 46
  8. Distribution: world
  9. Message-ID: <1iu5tjINNhu@mailgzrz.TU-Berlin.DE>
  10. NNTP-Posting-Host: bronto.zrz.tu-berlin.de
  11.  
  12. There is a question on handling aliases for host names in "sendmail.cf"
  13. for handling local mail.
  14.  
  15. Most of the "sendmail.cf"s I've seen and in use do it this way:
  16.  
  17.           S6
  18.           R$*<@$=w>$*        $:$1<@$w.$D>$3
  19.           R$*<@$=w.$D>$*    $:$1<@$w.$D>$3
  20.           R$*<@$=U.UUCP>$*    $:$1<@$w.$D>$3
  21.             ..
  22.             ..
  23.             ..
  24.           S0
  25.             ..
  26.             ..
  27.             ..
  28.           R$+<@$w>$*        #local$:$1
  29.           R$+<@$w.$D>$*        #local$:$1
  30.             ..
  31.             ..
  32.             ..
  33.  
  34. This leads to a rewrite of the hostname, hiding the original name.
  35.  
  36.  
  37. Why not doing it the following way, which keeps the original ?
  38.  
  39.           S6
  40.             ..
  41.             ..
  42.             ..
  43.           S0
  44.             ..
  45.             ..
  46.             ..
  47.           R$+<@$w>$*        #local$:$1
  48.           R$+<@$w.$D>$*        #local$:$1
  49.           R$+<@$=w>$*        #local$:$1
  50.           R$+<@$=w.$D>$*    #local$:$1
  51.             ..
  52.             ..
  53.             ..
  54.  
  55. Is there a significant reason for doing it the first way ?
  56.  
  57. Frank Elsner (TUBerlin Postmaster)
  58.