🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3144

Re: (IPC) Mailer rulesets (How do they really work?)

#3144
From: Mark Sirota
Date: Fri, 03 Feb 1989 21:11
32 lines
2010 bytes
In article <DOUG.89Feb3140955@csd4.milw.wisc.edu> doug@csd4.milw.wisc.edu (Doug Tiarks) writes:
> From what I've seen so far it appears that sendmail takes the resulting
> address from ruleset 0 (mailer, host, address triple) and passes it on to
> rulesets 2 -> mailer specific -> 4 before using it in the address for the
> mailer. This is certainly not what the Sendmail Installation Guide would
> have one believe. 
>
> For the case of the IPC mailer the ruleset path  would look like:
>
> from   -> 3  -> 0 -> address from  -> 2 -> mailer -> 4  -> SMTP RCPT TO:
> address	       mailer, host,	     specific	     command
> 		       address triple

You are right about the S4; not sure about the S2.  From src/Version.c:

< D 5.26	85/09/25 11:02:19	eric	448	447	00000/00000/00015
< DO use Ruleset 4 when defining $f -- it's very necessary (fix for <>
< will have to be done in configuration); pretty up mailq -v slightly

< D 5.23	85/09/23 21:19:05	eric	445	444	00000/00000/00015
< deliver directly in SMTP if VERB command has been issued; don't
< externalize name using ruleset 4 when defining $f macro: this turns "<>"
< into "", which confuses local mail

So, from versions 5.23 -> 5.26 is was true that the final address does not
go through S4.  Now, however, it does.  Note that S4 is only used for the
$: portion of the triple.
-- 
Mark Sirota - University of Rochester, Rochester, NY
 Internet: msir@cc.rochester.edu
 Bitnet:   msir_ss@uordbv.bitnet
 UUCP:     ...!rochester!ur-cc!msir
Technical Details
Message-ID: <779@ur-cc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!msir
References: <DOUG.89Feb3140955@csd4.milw.wisc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!msir
From: msir@uhura.cc.rochester.edu (Mark Sirota)
Newsgroups: comp.mail.sendmail
Subject: Re: (IPC) Mailer rulesets (How do they really work?)
Message-ID: <779@ur-cc.UUCP>
Date: 3 Feb 89 21:11:15 GMT
References: <DOUG.89Feb3140955@csd4.milw.wisc.edu>
Reply-To: msir@cc.rochester.edu (Mark Sirota)
Distribution: comp
Organization: Univ. of Rochester, Computing Center
Lines: 32