Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!solo!supernet!cluther From: cluther@supernet.haus.com (Clay Luther) Newsgroups: comp.mail.uucp Subject: Re: Making smail (or something) smarter Message-ID: <1990Dec5.174234.21488@supernet.haus.com> Date: 5 Dec 90 17:42:34 GMT References: <1990Dec4.235720.6494@nbc1.ge.com> Organization: Harris Adacom Corporation Lines: 45 scott@nbc1.ge.com (Scott Barman) writes: >However, because the system we pass mail with is on the Internet, I >would like our Internet addresses sent directly to them. For example, >our pathalias database gives the following root for user@sun.com: > philabs!linus!sunne!sun!user >While this works, if it was re-writen to crdgw1!sun.com!user (crdgw1 is >a GE site and cheaper for us to call regularly for mail), life would >probably be a lot better for many of us. First, since you are using uucp, it means you are using rmail to transfer mail. Because rmail does not currently understand @ addressing, you cannot get him to send your internet address. HOWEVER, if you and the site you connect to both run Smail 3.x, and the other site is an internet site, you can use rsmtp, which performs a remote SMTP transfer over UUCP instead of using rmail. We use this to connect to one of our forwarders, and you cannot tell we are a uucp only site from mail that passes through there. On the second question, you just need to ensure that the cost of using the crdgw1 link is cheaper than the cost of using the philabs link, via your map entry file. It would be sufficient to do something like: nbc1 philabs(DEMAND), crdgw1(DIRECT) This will make the crdgw1 link cheaper than the philabs link. The last bit, getting sun to always be expanded to sun.com requires a little sed'ing on your part. Pipe your pathalias output through the following command sed 's/!sun!/!sun.com!/' before directing the output to paths, so it looks like pathalias [options] | sed 's/!sun!/!sun.com!/' > paths This will change all occurences of sun to sun.com in the paths file. I do this for uunet since our forwarder does not use uucp aliases. -- Clay Luther, Postmaster cluther@supernet.haus.com Harris Adacom Corporation postmaster@supernet.haus.com Voice: 214/386-2356 MS 23, PO Box 809022, Dallas, Tx 75380-9022 Fax: 214/386-2159 Your mileage may vary. Void where prohibited. Brought to you by Super Global Mega Corp .com