Path: utzoo!utgpu!attcan!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.unix.xenix Subject: Re: smail problem: always resolves domain to bang Keywords: smail,xenix,SCO,386 Message-ID: <11709@steinmetz.ge.com> Date: 2 Aug 88 18:45:24 GMT References: <28@maxx.UUCP> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 18 In article <28@maxx.UUCP> tyager@maxx.UUCP (Tom Yager) writes: | I'm running the Xenix-patched version of smail 2.5 and running into a small | problem: every time I send mail to a domain address, it gets resolved to | all uucp. Example: There's nothing wrong with that, it's a valid address. When you parse an address like a!b@c, the default is to treat it as if it were c!a!b. If you want it the other way, there is code (sorry, can't remember just where, I *think* in resolve.c) which has the code in sequence; check for @ else check for !. I just reversed the order of these checks and it works just fine the other was, ! before @. I can't really offer you the patches, since I have hacked the program *mightily* to work for another environment, but that's what does it. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me