dank@telxon (Dan Kelley) (03/14/91)
Ok, I have acquired the source for both pathalias and smail. I kinda understand pathalias but have no clue how smail works and how pathalias works with smail. Mail on our LAN is somewhat in the achient world so I am trying to make it a little "smarter". Can anyone help a mail dumpbo? Thanks in advance, Dan Kelley... Dan Kelley || ...!uunet!telxon!dank || dank%telxon@uunet.uu.net Telxon Corporation || 3330 W. Market St. || "... Saddam Hussain will get his a** kicked." Akron, OH 44313 || - Pres. Bush on Pursian Gulf crisis
art@pilikia.pegasus.com (Art Neilson) (03/15/91)
In article <587@telxon.UUCP> dank@telxon (Dan Kelley) writes: >Ok, I have acquired the source for both pathalias and smail. I kinda >understand pathalias but have no clue how smail works and how pathalias >works with smail. Mail on our LAN is somewhat in the achient world so I am >trying to make it a little "smarter". Can anyone help a mail dumpbo? pathalias is used to build a "paths" database from UUCP map input, these maps are published in comp.mail.maps and can be found on some archive sites like uunet. The paths database contains system and domain names in the leftmost column, then the full UUCP bang style path from your site to the system in the second field, then possibly the cost in the third field. Pathalias calculates the most efficient bang path for mail to take from your site to each site you give it map source for. The output from pathalias should be passed thru sort and the sort output should be redirected to a file called paths in the directory you specified in your smail config. Smail uses a binary search to lookup sites in the paths database when you send mail to them, I think if you use smail 3.1 you can alternatively make the paths database a dbm database and tell smail such it's the config - in which case smail will use the dbm fetch function to lookup the site records in the database. Smail 3.1 quite a bit different from smail 2.5, I really like smail 3.1 and recommend it highly. On my system, I have arranged for my paths database to be rebuilt at night via cron if new maps come in thru comp.mail.maps. My paths database therefore stays current and I don't ever have to touch it. Of course keeping the maps sources online eats ~4.5MB of space on my system ;^). -- Arthur W. Neilson III | INET: art@pilikia.pegasus.com Bank of Hawaii Tech Support | UUCP: uunet!ucsd!nosc!pilikia!art