Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!stan!dce From: dce@Solbourne.COM (David Elliott) Newsgroups: comp.mail.sendmail Subject: Re: Problem with SunOS 4.0* sendmail.cf templates and YP domain Message-ID: <2100@marvin.Solbourne.COM> Date: 25 Aug 89 15:36:13 GMT References: <2088@marvin.Solbourne.COM> Reply-To: dce@Solbourne.com (David Elliott) Organization: Solbourne Computer Inc., Longmont, Colorado Lines: 34 In article <2088@marvin.Solbourne.COM> dce@Solbourne.com (David Elliott) writes: > >The problem is due to an interaction with ruleset 6: > > S6 > R$*<@$*$=m>$* $1<@$2LOCAL>$4 convert local domain Oops. I forgot how this causes another bug. When our YP domain was SAE1, the above rule was completely useless, so we had to add an explicit rule to ruleset 0 to handle our local domain. That is, we added the last two lines in this set, since the first was never effective: # deliver local items -- handles known and unknown hosts in our domain R$*<@$%y.LOCAL>$* $#ether $@$2 $:$1<@$2>$3 user@host.sun.com R$*<@$%y.$m>$* $#ether $@$2 $:$1<@$2>$3 user@host.sun.com R$*<@$*.$m>$* $#local $:$1 user@badhost.sun.com R$*<@$m>$* $#local $:$1 user@sun.com Also, for local subdomains, we had lines like: # Deliver to our subdomains R$*<@$*.westsci.Solbourne.COM>$* $#$M $@westsci $:$1<@$2.westsci.solbourne.COM>$3 R$*<@westsci.Solbourne.COM>$* $#$M $@westsci $:$1<@westsci.Solbourne.COM>$2 These were broken by the change of our YP domain (to +Solbourne.COM), since addresses ending in westsci.Solbourne.COM now get changed to westsci.LOCAL. -- David Elliott dce@Solbourne.COM ...!{uunet,boulder,nbires,sun}!stan!dce "I'm livin' on dawg food" -- Iggy