Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!steinmetz!crdgw1!crdgw1.ge.com!barnett From: barnett@crdgw1.crd.ge.com (Bruce Barnett) Newsgroups: comp.mail.sendmail Subject: Re: rulesets after resolved in ruleset 0 Message-ID: <49@crdgw1.crd.ge.com> Date: 16 Mar 89 15:00:44 GMT References: <44@crdgw1.crd.ge.com> <8119@csli.STANFORD.EDU> <2615@decuac.DEC.COM> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.crd.ge.com (Bruce Barnett) Organization: GE Corp. R & D, Schenectady, NY Lines: 56 In-reply-to: avolio@decuac.dec.com (Frederick M. Avolio) In article <2615@decuac.DEC.COM>, avolio@decuac (Frederick M. Avolio) writes: >a >Standard Rulesets (I *think* this is current) > >From (envelope) 3, 1, 4, 3, 1, S, 4 >To (envelope) 3, 0, 4 >From: 3, 1, S, 4 >To:, Cc: 3, 2, R, 4 Thanks Fred. I just want you to know that I have a similar message from you in ALL of my sendmail files. I did fix a problem that caused the question, but I still want to make sure that I understand the sequences of the rules. The reason is that I want to automate my test suite for sendmail which I am including in the Ease 2.1 package. It's just a simple hack, but for people struggling with sendmail files, it should be useful. It also gives me a way to see if a change in the ruleset breaks any addresses I use. I have an input file that looks like this: 0 user@localmachine 0 user@some.domain 0 machine!user%a.edu@b.com etc. And it outputs, in tbl(1) format, five fields: ruleset address mailer host user Now I want to include rulesets for all of the above cases, including each mailer (decnet, local ethernet, Internet, UUCP, smail, etc.) I know the debug option (sendmail -bt -d21.12) always calls ruleset 3 to start. Therefore from your note I believe the proper way to test each address is to use the combinations: From (Envelope): 1,4,3,1,S,4 user@local To (Envelope): 0,4 user@local From: 1,S,4 user@local To:, Cc: 2,R,4 user@local Assuming I pick the correct rules for R and S, will this test each of the above cases? I need to get the correct incantations to test the SunOS, Ultrix, and Berkeley/Ida sendmails, if possible. Am I on the right track? And how is the UUCP From_ line controlled? -- Bruce G. Barnett barnett@ge-crd.ARPA, barnett@steinmetz.ge.com uunet!steinmetz!barnett