Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!nic.MR.NET!umn-cs!umn-d-ub!ub.d.umn.edu!rhealey From: rhealey@ub.d.umn.edu (Rob Healey) Newsgroups: comp.mail.sendmail Subject: MX records and gateways Message-ID: <452@umn-d-ub.D.UMN.EDU> Date: 9 Aug 88 22:30:10 GMT Sender: root@umn-d-ub.D.UMN.EDU Reply-To: rhealey@ub.d.umn.edu (Rob Healey) Organization: University of Minnesota, Duluth. Information Services Lines: 50 For the past few weeks, off and on, I've been trying to futts with sendmail 5.59 so it will send a message to a gateway when it finds that a site is a UUCP connection off the internet site that holds it's MX record. An example: mail joe@site.joe.com site.joe.com has a uucp connection to site.forward.edu. site.forward.edu has a CORRECT MX record for site.joe.com. Our CURRENT sendmail calls an external routeing program which tells sendmail to send all mail destend for joe.com to site.forward.edu. In sendmail -bt mode lingo: >0 joe@site.joe.com oodles of debug info: "^V" "tcp" "^W" "site" "." "forward" "." "edu" "^X" "joe" "<" "@" "site" "." "joe" "." "com" ">" When I try this on 5.59 without the aid of hacking the code to bits so it can call the external router I get: >0 joe@site.joe.com oodles of debug info: "^V" "tcp" "^W" "site" "." "joe" "." "com" "^X" "joe" "<" "@" "site" "." "joe" "." "com" ">" Obviously it thinks site.joe.com is on the internet even though it's not. I did a -d8.99 and the nameserver IS finding the MX record AND the gateway info, it's just not telling sendmail about it. B^(. When you do a $[ site $] how do you tell that a gateway is in the picture. It appears that since it finds some reference to joe.com it assumes it's a tcp destination; DEAD WRONG assumption. I guess I need to reparse the output of $[ site $] somehow, what format should I look for? The external router's output was something likefor gateway addresses and for sites that were an actual tcp destination. WHAT is the $[ site $] equivenlant of this??? Any help would be greatly appreciated, -Rob Healey rhealey@ub.d.umn.edu