Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!allbery From: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) Newsgroups: comp.sources.misc Subject: v06i090: UUCP Pathfinder v1.1 Message-ID: <53141@uunet.UU.NET> Date: 23 Apr 89 19:23:49 GMT Sender: allbery@uunet.UU.NET Reply-To: violence@jolnet.ORPK.IL.US (Violence) Distribution: usa Organization: TVH Lines: 34 Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) Posting-number: Volume 6, Issue 90 Submitted-by: violence@jolnet.ORPK.IL.US (Violence) Archive-name: findpath.sh Here's a nifty script that will isolate mail routings for you. Nothing too fancy, but it works. o / - - - - - - - - - - x- - - - - - - - - - - - - - - - - - - - - - - - - - - - o \ # Name: UUCP Pathfinder # Synopsis: findpath # Description: Finds path from local-system to # Caveat: Only works w/uucp names, no domains accepted echo "" echo "UUCP Pathfinder v1.1 (c)1988, Evan Robinson" echo "-------------------------------------------" echo "Searching, please hold.." if grep $1"!%s" /usr/lib/uucp/paths > /dev/null then echo "To get from "`uuname -l`" to $1, " echo "Send via uucp to:" grep $1"!%s" /usr/lib/uucp/paths else echo "Sorry, no paths available from "`uuname -l`" to $1." fi echo "-------------------------------------------" # End of file - 9/88 o / - - - - - - - - - - x- - - - - - - - - - - - - - - - - - - - - - - - - - - - o \