[comp.mail.sendmail] Sendmail 5.64+IDA: IDA Ruleset 8

seth@ctr.columbia.edu (Seth Robertson) (07/08/90)

Greetings:

I'm in the proccess of installing Sendmail 5.64 with IDA changes on a
Sun 3 using the real Bind 4.8 libraries and statically linked to SunOS
4.1 libraries (on a 4.0.3 machine... don't ask)

In any case, my question has to do with the name resolver lookup in
ruleset 8 (for those who don't happen to have ruleset 8 on them:

----------------------------------------------------------------------
S8

R<$+>$+			$:<$1?>$2			Add marker.
R<$=X[$+.$+]?>$+	<$1[$2.$3]>$4			[1.2.3.4] is ok.
R<$=X$*$~P?>$+		$:<$1$[ $2$3 $:$2$3? $]?>$4	First try resolver
R<$=X$+?$*>$+		$:<$1$(N $2 $:$2$3 $)>$4	Next domain table
R<$=X$=U?>!$+		<$1$2.UUCP>!$3			Local UUCP host?
R<$=X$-?>!$+		$:<$1$2?$(M $2.UUCP $: $)>!$3	Known in mailertable?
R<$+?$+>$+		<$1.UUCP>$3			Add .UUCP if known
R<$*?$*>$*		<$1$2>$3			Remove marker
----------------------------------------------------------------------

My question has to do with retries via the various permutations of the
appending of the default domain to try to see if the name was a
partial match: (i.e.  for "cs" it would look up "cs.ctr.columbia.edu",
"cs.columbia.edu", and "cs" (not necessarily in that order, but it
makes sense that way)) Specificly, what is an easy, portable method of
doing that (either via config file changes or via sendmail/bind
changes)?  I made a quick hack, substituting the following three lines
for the first of those three lines, but I'm sure you will all agree
that this is *very* ugly.

R<$=X$*$~P?>$+		$:<$1$[ $2$3 $:$2$3? $]?>$4	First try resolver
R<$=X$+??>$+		$:<$1$[ $2.ctr.columbia.edu $:$2? $]?>$3	First try resolver
R<$=X$+??>$+		$:<$1$[ $2.columbia.edu $:$2? $]?>$3	First try resolver


Any suggestions?

					 Thanks,
                                        -Seth Robertson
                                         seth@ctr.columbia.edu