Path: utzoo!utgpu!attcan!uunet!crdgw1!crdgw1.ge.com!barnett From: barnett@crdgw1.crd.ge.com (Bruce G. Barnett) Newsgroups: comp.mail.sendmail Subject: Re: Is there a test suite for sendmail? Message-ID: <181@crdgw1.crd.ge.com> Date: 21 Apr 89 18:54:39 GMT References: <427eb5e9.feda@apollo.COM> <100@crdgw1.crd.ge.com> <111@crdgw1.crd.ge.com> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.crd.ge.com (Bruce G. Barnett) Organization: GE Corp. R & D, Schenectady, NY Lines: 38 In-reply-to: barnett@crdgw1.crd.ge.com (Bruce G. Barnett) In article <111@crdgw1.crd.ge.com>, barnett@crdgw1 (Bruce G. Barnett) writes: > This is how I test my sendmail files. Oops. let me make a small change: In the script showhow, change SENDMAIL=/usr/lib/sendmail -bt -Csendmail.out -d21.12 to SENDMAIL="/usr/lib/sendmail -bt -Csendmail.out -d21.12" That is, put quotes around your sendmail invocation. Also - to get the script to work on an Ultrix 2.0 machine, change -e 's/\^V/$#/' \ -e 's/\^X/$:/' \ -e 's/\^W/$@/' \ to -e 's/\^U/$#/' \ -e 's/\^V/$@/' \ -e 's/\^W/$:/' \ It seems that the internal codes for the $#, $@ and $: tokens are one higher in Ultrix 3.0 than 2.0. I haven't heard one peep from anyone since I posted this. Either everything is clear or I really botched it! I also realized that some people send me mail asking for the test scripts, and I gave them the scripts with no instructions (which was in the posting). If you don't still have the posting, you can just do showwhere debug.out Then you can compare the debug.out file with a known good ruleset output. -- Bruce G. Barnett a.k.a. uunet!steinmetz!barnett,