Thread View: comp.mail.sendmail
2 messages
2 total messages
Started by Joseph E Poplawski
Sun, 09 Oct 1988 17:18
Pathalias & a local file
Author: Joseph E Poplawski
Date: Sun, 09 Oct 1988 17:18
Date: Sun, 09 Oct 1988 17:18
18 lines
1452 bytes
1452 bytes
Is there a way with pathalias to have a map entry for your site, that only your site uses. For example, to let your system know that you speak to system ALPHA ten times a day, but in the normal map entry that gets distributed to the net, say you speak to ALPHA once a week? I heard something mentioned of a file that can be created called 'u.local' or something like that. Would that be the correct way to do it? Thanks in advance. -Jo Poplawski ------------------------------------------------------------------------------- |Joseph E Poplawski (Jo) US Mail: 1621 Jackson Street | | Cinnaminson NJ 08077 | |UUCP:..!rutgers!rochester!moscom!telesci!fantasci!jep | | ..!princeton!telesci!fantasci!jep Phone: +1 609 786-8099 home | | ..!pyrnj!telesci!fantasci!jep | -------------------------------------------------------------------------------
Re: Pathalias & a local file
Author: Andrew Patrick
Date: Fri, 14 Oct 1988 14:33
Date: Fri, 14 Oct 1988 14:33
42 lines
2154 bytes
2154 bytes
In article <211@fantasci.UUCP> jep@fantasci.UUCP (Joseph E Poplawski) writes:
>Is there a way with pathalias to have a map entry for your site, that only
>your site uses. For example, to let your system know that you speak to system
>ALPHA ten times a day, but in the normal map entry that gets distributed to the
>net, say you speak to ALPHA once a week? I heard something mentioned of a file
>that can be created called 'u.local' or something like that. Would that be
>the correct way to do it?
Yes, create the file with the local information you want, and then
make sure that it is the first input to pathalias. Our script for
calling pathalias from cron once a week includes the following:
...
| P1="local.changes"
| P2="d.*"
| P3="u.[a-z]*"
| PATHS="$P1 $P2 $P3"
| pathalias -i $PATHS | sort > paths.new; mv paths paths.old; mv paths.new paths
| echo "Done."
...
and the file 'local.changes' contains information like:
...
| # machines and connections known to have trouble
|
| dead {mnetor, ihnp4, dciem!utcsri}
|
| # unadvertised links
|
| foo bar(DIRECT)
...
I hope this helps.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Andrew Patrick, Ph.D. Communications Research Center, Ottawa, CANADA
(613) 990-4675
patrick@crcmar.UUCP uunet!ai.toronto.edu!utgpu!bnr-vpa!bnr-rsc!crcmar!patrick
INTERNET: dgbt@ncs.dnd.ca BITNET: patrick%crcmar@utorgpu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads