[news.sysadmin] Question about pathalias output.

jessea@dynasys.UUCP (Jesse W. Asher) (08/28/90)

I recently got connected to a well connected site and I'm having problems
with pathalias.  I have other sites that are connected to the outside
USENET world.  Yet, when I run pathalias, ALL mail goes out through this
well connected site - even though the cost is much higher to connect to
this site than my other sites.  The cost for connecting to these other sites
is 220 (direct+fast), but the cost to the other site is 500.  Why does
pathalias set up the database to route through this site even though the 
cost is higher?  How can I get it to stop this behavior?  Also, I would
like pathalias to look at the total cost from this site to the end site
instead of looking at just the connection to the next system.  Can I do
this?  Here is how I make my paths file:
begin script
============================================

(ulimit 100000
cd /usr/spool/uucppublic/news/maps
find . -name tmp.map -exec rm {} \;
for x in `ls`
do
	cat $x>>tmp.map
done
/usr/lbin/pathalias -c tmp.map 2> ../errors|/usr/lbin/pathproc>paths 2>> ../errors
mv paths /usr/lib/uucp
chown uucp /usr/lib/uucp/paths
find . -name tmp.map -exec rm {} \; ) & 

==============================================
end script
I take all the maps, cat them into one big file, and run pathalias on it.
Am I doing something wrong here?  Any assistance would be appreciated.


---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---
      Jesse W. Asher                             Phone: (901)382-1609 
               6196-1 Macon Rd., Suite 200, Memphis, TN 38134
                UUCP: {fedeva,chromc,rutgers}!dynasys!jessea
 -> Going the speed of light is bad for your age.