home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / sendmail / 3094 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
  3. From: rickert@mp.cs.niu.edu (Neil Rickert)
  4. Subject: Re: Is it possible to alias a hostname?
  5. Message-ID: <1993Jan2.164611.31267@mp.cs.niu.edu>
  6. Organization: Northern Illinois University
  7. References: <1992Dec30.110027.24942@athena.mit.edu> <1993Jan2.113941.23309@athena.mit.edu>
  8. Date: Sat, 2 Jan 1993 16:46:11 GMT
  9. Lines: 23
  10.  
  11. In article <1993Jan2.113941.23309@athena.mit.edu> vlcek@mtl.mit.edu (Jim Vlcek) writes:
  12. >I'd needed a way to redirect mail that was addressed to PCs which
  13. >....
  14.  
  15. >  R$*<@$=C>$*           $1<@LOCAL>$3            <@pc> -> <@LOCAL>
  16. >  R$*<@$=C.$=m>$*       $1<@LOCAL>$4            <@pc.dom> -> <@LOCAL>
  17. >..
  18.  
  19. >Now, the question is, where should these rules be placed (ie, in which
  20. >ruleset)?  Ruleset three is used to map addresses into an internal
  21.  
  22. They probably should go in ruleset 0, toward the beginning of the
  23. ruleset.  But you may need to change the second rule, or add a
  24. new rule
  25.  
  26. R$*<@$=C.LOCAL>$*    $1<@LOCAL>$3
  27.  
  28. Putting it in ruleset 3 only affects the actual delivery, and does
  29. not change the address on the headers.
  30.  
  31. Actually, if you put those hosts in class 'w' instead of class 'C'
  32. you probably won't need any new rules at all.
  33.  
  34.