home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / sendmail / 1946 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!decwrl!csus.edu!news
  3. From: eps@futon.SFSU.EDU (Eric P. Scott)
  4. Subject: Why does buildaddr() [parseaddr.c] rewrite using the R= rules?
  5. Message-ID: <1992Jul26.101046.962@csus.edu>
  6. Sender: news@csus.edu
  7. Reply-To: eps@cs.sfsu.edu
  8. Organization: San Francisco State University
  9. Date: Sun, 26 Jul 1992 10:10:46 GMT
  10. Lines: 28
  11.  
  12. This is probably a really stupid question, but it's driving me
  13. nuts as far as uucp is concerned.
  14.  
  15. I was under the impression that the recipient rewriting rules
  16. only applied to headers (To: and Cc:).  However, sendmail also
  17. runs the "RCPT TO:" address through the same rules!  (This is
  18. not clear from the documentation.)
  19.  
  20. Here's the situation:
  21.  
  22. I send mail to with recipents someuucphost!joe and jane (local).
  23.  
  24. I want joe to see jane rewritten as myuucpname!jane, so when the
  25. message arrives on uucphost, replies go to the right place.
  26. However, if my R= ruleset for uucp does something like
  27.  
  28. R$-    $:myuucpname!$1
  29.  
  30. to generate what I consider correct headers, then uux will try to
  31. run  rmail myuucpname!joe  which is clearly The Wrong Thing.
  32.  
  33. Am I Unclear On The Concept or is this a design stupidity?  I
  34. don't see why Ruleset 0 can't/shouldn't generate the "final" user
  35. address to be passed unchanged to the mailer.  Perhaps it needs
  36. to be defocused, but that's not the same thing as "generating
  37. addresses that are meaningful in the context of the recipient."
  38.  
  39.                     -=EPS=-
  40.