what rulesets are applied to what addresses?

Simon Kenyon simon at einode.UUCP
Fri Nov 21 02:29:24 AEST 1986


to answer my own questions on sendmail (in case anybody is interested)

question:	what rulesets are applied to what addresses?
answer:
 
 	envelope from:		3,1,4,3,1,S,4
 	envelope to:		3,0,4     [4.2, sun2.0 and ultrix1.2 sendmails]
				3,0,2,R,4 [4.3 sendmail]
 	header from:		3,1,S,4
 	header to:		3,2,R,4

question:	who sets $g and $f?
answer:

	$g is result of -f command line parameter being passed through
	rulesets 3,1,4,3,1,S,4
	$f is result of -f command line parameter being passed through
	rulesets 3,1,4

question:	what part of the result of ruleset 0 gets passed through 4?
answer:

	only the username (that which will become $u) gets passed through
	ruleset 4 after going through 3 and then 0, $h does not get passed
	through ruleset 4 after 3 and 0 [this is obvious, once you know it,
	but it is not stated anywhere.

in case anyone is interested, i have a couple of things which go around
sendmail, which help YOU discover these sorts of facts for yourself.
if anyone is interested, i'll send it to you. it is much more realistic
than "address test mode".
-- 
Simon Kenyon
EUnet: simon at einode.UUCP
Smail: The National Software Centre, Dublin, IRELAND
Phone: +353-1-716255
EUnet is a registered trademark of the EUUG



More information about the Comp.unix.wizards mailing list