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