chris@politik.UUCP (Christopher Seiwald) (11/06/84)
I would like to use the mod.map data for automatic routing. It seems that the method is: unbundle mod.map.* postings produce path information from map files have sendmail (I'm on 4.2) look up paths Posted solution known to me are: mkcon - takes map files and turns out useless gunk. pathalias - produces reasonably useful path data from some unknown input data (modified mkcon output works minimally). Questions: Is there a complete package to handle everything from unbundling to sendmail? -- if not -- Do I use mod.map.uucp or mod.map.news? (does map.uucp exist?) What is pathalias's intended source? How do I get sendmail to do routing, short of writing my own mailer? Thanks. -- ---- Christopher Seiwald dual!ptsfa!politik!chris
ken@turtlevax.UUCP (Ken Turkowski) (11/07/84)
> I would like to use the mod.map data for automatic routing.
We haven't even received a "create newsgroup" message, much less
anything posted to mod.map.*. Is this true elsewhere on the net, or
have mod.map.* postings been gobbled up along he way?
--
Ken Turkowski @ CADLINC, Palo Alto, CA
UUCP: {amd,decwrl,flairvax,nsc}!turtlevax!ken
ARPA: turtlevax!ken@DECWRL.ARPA
jhall@ihuxu.UUCP (John R. Hall-"the samurai MTS") (11/09/84)
Haven't got anything posted to mod.map here either. -- --John R. Hall, ...ihnp4!ihuxu!jhall "And may your days be celebrations"
israel@umcp-cs.UUCP (Bruce Israel) (11/09/84)
In article <22@politik.UUCP> chris@politik.UUCP (Christopher Seiwald) writes: >I would like to use the mod.map data for automatic routing. > How do I get sendmail to do routing, short of writing my own > mailer? That seems to be one of the major limitations of sendmail. I've been looking at it, trying to figure a way to get a vanilla sendmail to do uucp routing, and I came to the conclusion that it couldn't be done (at least not in a general fashion). So I spent some time and modified sendmail to be able to look up path translations in files. What I have is a modification to the 'F' command in the sendmail.cf file so that you can have a file which looks like this: /usr/lib/hostnames/uucp-routing: . . . ihnp4 seismo!ihnp4 . . . Then your rewrite rules in your .cf file can look hosts up in these files (the first column is the fileclass set) and can use the name translation using a new construct (the $&<num> construct). An example rule is: # define the routing table with the name and name translation in the file FX/usr/lib/hostnames/uucp-routing %s%s R$-!$+ $&1!$2 replace site name with route to that site I've been testing it here for a couple of weeks, and it feels pretty robust. I'm not quite ready to release it because of other sendmail problems that keep cropping up (more about that in another message, probably), but when I'm ready (within the next couple of weeks or so) I can post diff's of the appropriate files if there is enough interest. -- Bruce Israel University of Maryland, Computer Science Dept. {rlgvax,seismo}!umcp-cs!israel (Usenet) israel@Maryland (Arpanet)