[comp.mail.uucp] A Small-Memory Pathalias?

trier@solarium.scl.cwru.edu (Stephen Trier) (03/19/90)

Is there something like pathalias that will run comfortably on systems
with well under a megabyte of memory, perhaps byt using temporary files on
disk?  I'm interested because of an idea for creating a version of UUPC
capable of performing smart-host mail routing, and I'm having a terrible
time getting pathalias to run on MS-DOS.  (I'm sorry, "Get a Real Operating
System" is not an answer compatible with my wallet.)  ;-)

If there isn't anything, I suppose I'll have to write it.  :-(

            <=> Stephen Trier    sct%seldon@skybridge.SCL.CWRU.Edu
                                 {sun,att,decvax}!cwjcc!skybridge!seldon!sct
                                 sct@po.CWRU.Edu

bdb@becker.UUCP (Bruce Becker) (03/20/90)

In article <1990Mar19.030224.16305@usenet.ins.cwru.edu> trier@SCL.CWRU.Edu (Stephen Trier) writes:
|Is there something like pathalias that will run comfortably on systems
|with well under a megabyte of memory, perhaps byt using temporary files on
|disk?  I'm interested because of an idea for creating a version of UUPC
|capable of performing smart-host mail routing, and I'm having a terrible
|time getting pathalias to run on MS-DOS.  (I'm sorry, "Get a Real Operating
|System" is not an answer compatible with my wallet.)  ;-)

	Actually that is a compatible answer, if you
	get something that runs AmigaDos 8^).

	It's only a partly a joke since there are
	amazing student discounts until 31 March
	for Amigas (also with an IBM PC clone board
	included, for those stuck with MS-DOS software
	requirements).

	The basic problem with pathalias is probably
	64K data object size limitations due to the
	fun way Intel designs cpu's. Going to an
	inexpensive 680x0-based system, if it's a
	viable option for you, will solve that problem
	nicely. "smail 2.5" ports quite easily to
	AmigaDos as well since it is a fully
	multi-tasking O/S with pipes etc...

Cheers,
-- 
  (__)	 Bruce Becker	Toronto, Ontario
w \@@/	 Internet: bdb@becker.UUCP, bruce@gpu.utcs.toronto.edu
 `/v/-e	 UUCP: ...!uunet!mnetor!becker!bdb
_/  \_	 "So far from God, so close to the United States" - Old Mexican proverb

darcy@druid.uucp (D'Arcy J.M. Cain) (03/21/90)

In article <1990Mar19.030224.16305@usenet.ins.cwru.edu> trier@SCL.CWRU.Edu (Stephen Trier) writes:
>Is there something like pathalias that will run comfortably on systems
>with well under a megabyte of memory, perhaps byt using temporary files on
>disk?  I'm interested because of an idea for creating a version of UUPC
>capable of performing smart-host mail routing, and I'm having a terrible
>time getting pathalias to run on MS-DOS.  (I'm sorry, "Get a Real Operating
>System" is not an answer compatible with my wallet.)  ;-)

If you have a friendly neighbor you can have them build the pathalias for
you.  I do this not because of a RAM shortage but because I can't afford
the space to keep all the maps on my disk.  A good neighbor (Thanks Greg)
modified his script file that runs pathalias to run it again for me.  I
think it is the -d option you want.  The script then uucp's it to me and
my cron checks for a new copy each night and uncompresses it and sets up
the permissions.  I don't know how you would automate this on a DOS system
but you can probably have it mailed to you and do it manually.

Note that this benefits the site that does this for you as well since they
only have to send one pathalias file from time to time instead of the maps
newsgroup thus saving modem time.  Of course this should only be done for
leaf sites.

-- 
D'Arcy J.M. Cain (darcy@druid)     |   Thank goodness we don't get all 
D'Arcy Cain Consulting             |   the government we pay for.
West Hill, Ontario, Canada         |
(416) 281-6094                     |

karl@ficc.uu.net (Karl Lehenbauer) (03/22/90)

In article <1990Mar20.161623.3712@druid.uucp> darcy@druid.UUCP (D'Arcy J.M. Cain) writes:
>In article <1990Mar19.030224.16305@usenet.ins.cwru.edu> trier@SCL.CWRU.Edu (Stephen Trier) writes:
>>Is there something like pathalias that will run comfortably on systems
>>with well under a megabyte of memory...

>If you have a friendly neighbor you can have them build the pathalias for
>you.  

Yes, there is a command-line option to pathalias to have it build the path
database for a named site.

Alternatively, you can run pathalias on an extract of the database, say for
your city or state, then use the smart-host definition to forward any mail
that pathalias can't resolve with your path database to a nearby site that 
processes all the maps.
-- 
-- uunet!ficc!karl  "Lack of skill dictates economy of style." -- Joey Ramone
   uunet!sugar!karl

cks@white.toronto.edu (Chris Siebenmann) (03/23/90)

karl@ficc.uu.net (Karl Lehenbauer) writes:
| Alternatively, you can run pathalias on an extract of the database, say for
| your city or state, then use the smart-host definition to forward any mail
| that pathalias can't resolve with your path database to a nearby site that 
| processes all the maps.

 The problem with this approach is that you can end up with seriously
non-optimal links listed, when they should really go through your
smarthost. This happens when people inside your region have "backup"
low-quality links to sites outside it; the explicitly mentioned low
quality route then makes it into the paths file, and is used for your
mail.

 One solution is to filter out all routes with a cost above a certain
limit; with the right limit, you can drop almost all the bad links
without loosing too many good links. Another useful trick is to strip
the paths file of everything that has your smart host as the first hop
(since it will go there anyways).

 An "ideal" regional map can be made by generating a full map and
throwing out all paths to sites outside the region (domains may make
this slightly problematic). Unfortunately, you need the full maps and
enough memory to process them to do this, so it's something only large
sites generating maps for other people would do.

--
	"This will be dynamically handled, possibly correctly, in 4.1."
		- Dan Davison on streams configuration in SunOS 4.0
cks@white.toronto.edu		   ...!{utgpu,utzoo,watmath}!utcsri!white!cks