home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!decwrl!pa.dec.com!vixie
- From: vixie@pa.dec.com (Paul A Vixie)
- Subject: Re: Why does buildaddr() [parseaddr.c] rewrite using the R= rules?
- In-Reply-To: eps@futon.SFSU.EDU's message of Sun, 26 Jul 1992 10:10:46 GMT
- Message-ID: <VIXIE.92Jul26162326@cognition.pa.dec.com>
- Sender: news@PA.dec.com (News)
- Organization: DEC Network Software Lab
- References: <1992Jul26.101046.962@csus.edu>
- Date: 26 Jul 92 16:23:26
- Lines: 37
-
- The published documentation is, as you say, not very clear on which ruleset
- will be called for which addresses and what times. I'm not going to try to
- clear up that general problem here, but I will point out that the IDA mods
- to sendmail let you get around the problems you're noticing.
-
- And IDA-derived sendmail (mine is called King James Sendmail and it can be
- had via anonymous FTP from gatekeeper.dec.com in /pub/misc/vixie/kjs.tar.Z)
- has the ability to use different rulesets for the RCPT TO:<> (called the
- "envelope" addresses) than for the To:/Cc: (called the "header" addresses).
- If you include a line in sendmail.cf that says:
-
- O/
-
- ...then two useful things happen: first, rulesets 5 and 6 become "automatic"
- in the same way that 1, 2, 3, and 4 are. But whereas 1 and 2 continue to
- get the envelope sender/recipient, 5 and 6 get the header sender/recipient.
- (I'm not sure which is which, actually, but there's documentation in the
- "ida" subdirectory of all IDA-derived sendmail source kits.)
-
- Second, the R= and S= keywords of the mailer definition are allowed to be
- stated as R=nn/nn and S=nn/nn rather than the old S=nn and R=nn. The number
- after the "/" is the ruleset to be applied to headers, and if specified then
- the first number is used only for the envelopes. If "O/" was not specified
- than the "/" is a syntax error; if "O/" was specified and no "/" is used in
- S= or R=, then single ruleset specified by S=nn or R=nn is used for both
- envelope and header addresses, as is the case for non-IDA sendmails.
-
- Note that my IDA-derived sendmail has a very old config kit and that the
- one available from UIUC (Neil R or Paul P will be replying here shortly with
- the ftp server and pathname) has a much newer and nicer config kit. My
- config files are all hacked by hand, which is why I don't include anything
- spiffy config-file-wise in my KJS kits.
- --
- Paul Vixie, DEC Network Systems Lab
- Palo Alto, California, USA "Don't be a rebel, or a conformist;
- <vixie@pa.dec.com> decwrl!vixie they're the same thing, anyway. Find
- <paul@vix.com> vixie!paul your own path, and stay on it." -me
-