Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!rex!uflorida!novavax!twwells!bill From: bill@twwells.com (T. William Wells) Newsgroups: comp.mail.uucp Subject: Re: Pathalias question Message-ID: <1989Jun19.074748.18296@twwells.com> Date: 19 Jun 89 07:47:48 GMT References: <1242@psuhcx.psu.edu> Organization: None, Ft. Lauderdale, FL Lines: 29 In article <1242@psuhcx.psu.edu> wcf@psuhcx.psu.edu (Bill Fenner) writes: : I'd like to mark psuvax1 as dead in my maps, but then if any paths end up : with psuvax1 in them, I'd like to have the path start with psuvax1. : : Here's the situation: psuvax1 munges my uucp mail in an unacceptable way : (at least it used to), so I mark it as dead. I have a connection using : uucp over tcp/ip with lll-winken, and all my mail goes out that way. : Unfortunately, my path to psuvax1 is now : : psuvax1 lll-winken!ames!think!bloom-beacon!garp!psuvax1!%s : : and hosts which are only reachable through psuvax1 use this path as well. : I want to get rid of the lll-winken!ames!think!bloom-beacon!garp, but not : to route anything more through psuvax1 than I have to. : : Any suggestions? Presumably, you have a direct link to psuvax1? If so, run the output of pathalias through the following: sed 's/^I[^^I]*!psuvax1!/^Ipsuvax1!/' (The ^I's are tab characters.) All it does is strip off the prefix of the path to psuvax1. --- Bill { uunet | novavax | ankh | sunvice } !twwells!bill bill@twwells.com