Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!einode!simon From: simon@einode.UUCP (Simon Kenyon) Newsgroups: comp.mail.uucp,comp.unix.wizards Subject: Re: what rulesets are applied to what addresses? Message-ID: <220@einode.UUCP> Date: Thu, 20-Nov-86 11:29:24 EST Article-I.D.: einode.220 Posted: Thu Nov 20 11:29:24 1986 Date-Received: Fri, 21-Nov-86 01:59:15 EST References: <218@einode.UUCP> Organization: The National Software Centre, Dublin, Ireland. Lines: 37 Xref: mnetor comp.mail.uucp:15 comp.unix.wizards:130 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@einode.UUCP Smail: The National Software Centre, Dublin, IRELAND Phone: +353-1-716255 EUnet is a registered trademark of the EUUG