home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / mail / setup / unix / part1 next >
Encoding:
Text File  |  1994-09-22  |  27.0 KB  |  610 lines

  1. Newsgroups: news.admin.misc,comp.mail.misc,news.answers,comp.answers
  2. Path: bloom-beacon.mit.edu!hookup!nic.ott.hookup.net!ecicrl!clewis
  3. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  4. Subject: UNIX Email Software Survey FAQ [Part 1 of 3]
  5. Summary: How to set up Email on UNIX systems.
  6. Message-ID: <mailfaq.1_780240004@ferret.ocunix.on.ca>
  7. Supersedes: <mailfaq.1_778425605@ferret.ocunix.on.ca>
  8. Approved: news-answers-request@mit.edu
  9. Date: Thu, 22 Sep 1994 13:20:08 GMT
  10. Expires: Thu, 27 Oct 1994 13:20:04 GMT
  11. Reply-To: mailfaq@ferret.ocunix.on.ca (Mail FAQ commentary reception)
  12. Organization: Elegant Communications Inc., Ottawa, Canada
  13. Keywords: mail software survey UNIX FAQ
  14. Followup-To: poster
  15. Lines: 592
  16. Xref: bloom-beacon.mit.edu news.admin.misc:22645 comp.mail.misc:9497 news.answers:26157 comp.answers:7416
  17.  
  18. Archive-name: mail/setup/unix/part1
  19. Last-modified: Sat Mar 19 23:14:03 EST 1994
  20.  
  21.         UNIX EMail Software - a Survey
  22.                Chris Lewis
  23.         clewis@ferret.ocunix.on.ca
  24.         [and a host of others - thanks]
  25.  
  26.         Copyright 1991, 1992, 1993, Chris Lewis
  27.  
  28.     Redistribution for profit or altered content/format
  29.     prohibited without permission of the author.  Other
  30.     redistribution must contain this copyright notice
  31.     and attribution.
  32.  
  33. Changes are marked with a preceding "|".  You can skip to them
  34. by typing g^| in (most) newsreaders.
  35.  
  36. Note: this FAQ has been formatted as a digest.  Many newsreaders
  37. can skip to each of the major subsections by pressing ^G.
  38.  
  39. Please direct comments or questions to mailfaq@ferret.ocunix.on.ca -
  40. note Reply-to: line - automatic if you reply to this article.
  41.  
  42. ------------------------------
  43. Subject: Introduction
  44.  
  45. Configuring electronic mail systems can be quite a complicated
  46. subject.  Often far more complicated than, say, setting up
  47. a USENET news feed.  This is because, unlike news, email is
  48. expected to traverse multiple types of networks using their own
  49. protocol, whereas, USENET news tends to be a single protocol
  50. supported by hook or by crook on different networks.
  51.  
  52. This document is intended for system administrators who need to
  53. know how to set up their UNIX systems for email communication with
  54. the outside world.  It is intended for the email-naive SA
  55. who gets more than a little confused by the acronyms, RFC's and
  56. plethora of software.
  57.  
  58. This is intended to be a general survey of the software available,
  59. so I won't spend too much time on some of the details.  Most of
  60. the available software comes with documentation that can
  61. explain things much better than I can.
  62.  
  63. Additional detail can be obtained from several sources, such as:
  64.  
  65.     Quarterman, John S.: "The Matrix -- Computer Networks
  66.     and Conferencing Systems Worldwide", Digital Press 1990,
  67.     (Order No.  EY-C176E-DP), ISBN 1-55558-033-5.
  68.  
  69.     Adams, Rick and Frey, Donnalyn: !%@:: A Directory of Mail
  70.     Addressing and Networks, 3rd Ed., O'Reilly & Associates 1993,
  71.     Provides a good reference for people seeking information
  72.     on how to access the various email networks.
  73.     ISBN 1-56592-031-7.
  74.  
  75.     Kehoe, Brendan P.: Zen and the Art of the Internet: A
  76.     Beginner's Guide, Second Edition, Prentice Hall 1992,
  77.     ISBN 0-13-010778-6.  Edition 1 is available via FTP on
  78.     cs.widener.edu in the tar file zen-1.0.tar.Z. [I think]
  79.  
  80.     Krol, Ed: The Whole Internet: User's Guide & Catalog.
  81.     First edition, O'Reilly & Associates Sept. 1992.
  82.     ISBN: 1-56592-025-2.  Very good introduction to
  83.     the Internet, history, facilities, uses, services,
  84.     etc.  I learned a lot.
  85.     
  86.     Albitz, Paul & Liu, Cricket: DNS and BIND, First edition,
  87.     O'Reilly & Associates, October 1992.  ISBN: 0-56592-010-4.
  88.     Describes in great detail everything from what a domain
  89.     is, to how to install and configure BIND.  A *MUST* for
  90.     people setting up large networks, or connecting
  91.     machines to the Internet.  It has become mandatory reading
  92.     for network administrators in a large corporation for
  93.     good reason.
  94.  
  95.     Costales, Bryan and Allman, Eric and Rickert, Neil: Sendmail.
  96.     O'Reilly & Associates, Nov (?) 1993. ISBN 1-56592-056-2
  97.     (ISBN from galley proof, which I've had a preview of).
  98.     An absolute necessity for anyone diving into the configuration
  99.     of sendmail.  The material is presented in a very clear
  100.     form, and is quite exhaustive in its coverage.  Perhaps a bit
  101.     too wordy and overlong, but that's a more than welcome contrast
  102.     to previous documentation (or lack thereof) on sendmail.
  103.  
  104. Further, this is primarily oriented towards UNIX email systems.
  105. This is unfortunate, because it would be nice to have a general
  106. document covering email in all of its forms.  However, each
  107. operating system tends to have radically different email mechanisms,
  108. so it would be difficult to do justice to any other environment.
  109. It seems more useful to cover one environment well here, and have
  110. companion documents for other environments.  Speaking of which,
  111. why hasn't anybody else stepped in to do FAQs on other environments?
  112. Like DOS, Mac etc.
  113.  
  114. And finally, this document is not intended to be pedantically
  115. correct.  Knowledgeable readers will know that I'm glossing
  116. over a lot of detail, and absolute precision has been balanced
  117. against readability and effectiveness in helping people get
  118. going.
  119.  
  120. ------------------------------
  121. Subject: Layout
  122.  
  123. This FAQ is laid out in the following sections:
  124.  
  125.     + An overview of how mail systems go together.
  126.  
  127.     + A glossary of the important terms to know.
  128.  
  129.     + A list of general do's and don'ts of mail systems.
  130.  
  131.     + Configuration Issues
  132.  
  133.     + Several suggested mail configurations. 
  134.  
  135.     + General overviews of specific software.
  136.  
  137. ------------------------------
  138. Subject: Electronic mail - A General Overview of Structure
  139.  
  140. Electronic mail generally consists of three basic pieces:
  141.  
  142.     1) The link level transport - which could be
  143.        UUCP, TCP/IP, or a host of others.  We'll call
  144.        this the "transport medium" (TM)
  145.  
  146.     2) the "Mail Transport Agent" (MTA) which is responsible for
  147.        transporting mail from source to destination, possibly
  148.        transforming protocols, addresses, and routing the mail.
  149.  
  150.        The MTA often has several components:
  151.         - Routing mechanisms
  152.         - Local delivery agent (LDA)
  153.         - Remote delivery agent
  154.        Many MTA's have all of these components, but some
  155.        do not.  In other cases, it is possible to replace
  156.        certain components for increased functionality.
  157.  
  158.     3) The "User Agent" (UA) is the user interface -
  159.        the software that the user uses to read his mail,
  160.        sort things around in folders, and send mail.
  161.        Sometimes called "Mail User Agent" (MUA).
  162.  
  163. ------------------------------
  164. Subject: Glossary
  165.  
  166. Rather than alphabetic, this glossary tends to group terms
  167. referring to similar functionality together.
  168.  
  169. Transport Medium:
  170.  
  171.     UUCP (Unix to Unix Copy Program):
  172.     Back in the mists of time, UNIX systems communicated only
  173.     over RS232 serial lines, usually over modems.  UUCP is a
  174.     suite of programs developed back in the early 70's to
  175.     provide this communications link.  All that UUCP does is
  176.     transfer files from one system to another.  There is an
  177.     additional mechanism where one system can direct the
  178.     destination system to run a file through a specific program.
  179.     Electronic mail in UUCP is simply requesting the destination
  180.     machine to run "mail" on a data file.
  181.  
  182.     UUCP communicates by means of "protocols", the most common
  183.     being "g", a method for transmission of data over telephone
  184.     lines and ensuring that the data is not corrupted.  There
  185.     are several other protocols, none universally available,
  186.     and most oriented towards communication media other than
  187.     telephone voice lines (such as dialup X.25, PAD X.25, or
  188.     LAN connects).
  189.  
  190.     UUCP operates over fixed system-to-system links, so sending
  191.     mail from one system to another often has to traverse
  192.     other intermediate systems.
  193.  
  194.     TCP/IP (Transmission Control Protocol/Internet Protocol):
  195.     TCP/IP is a protocol that allows any system on a network to
  196.     talk "directly" to any other, by passing packets of
  197.     information back and forth.  TCP/IP (and its later relative
  198.     OSI) is usually used over networks built on top of Ethernet,
  199.     Token-Ring, Starlan and other LANS.
  200.  
  201.     SMTP:
  202.     Or, "Simple Mail Transfer Protocol", is the communications
  203.     protocol used most commonly over TCP/IP links in UNIX
  204.     environments for mail.  SMTP usually operates directly between
  205.     the source and destination machines, so intermediate machines
  206.     don't get involved (except for gateways, see below).  SMTP
  207.     is usually part of the MTA.
  208.  
  209.     SLIP (Serial Line Internet Protocol):
  210.     SLIP is an implementation of TCP/IP designed for use over
  211.     RS232 serial lines (ie: modems).  The other difference is
  212.     that some SLIP implementations have the ability to "dial the
  213.     phone" to make a connection for a specific transfer, whereas
  214.     LAN TCP/IP is physically continuously connected.  You'd also
  215.     need TCP/IP to run a SMTP mail connection.
  216.  
  217.     PPP (Point-to-Point Protocol):
  218.     A successor to SLIP.
  219.  
  220.     X.25/X.29:
  221.     X.25 is a packet switched data network which is usually
  222.     half-duplex.  In this context, it's really an alternative
  223.     to dialup over voice telephone lines with modems.  X.25
  224.     is available in several "flavours", either direct X.25
  225.     trunk connects over leased lines, through "PAD" interfaces,
  226.     or by ordinary dialup modem access to X.25 "ports".
  227.  
  228.     To be useable in the context of mail transfers, you also
  229.     have to use a file transfer protocol/mechanism of some
  230.     sort on top of X.25.  The most common being UUCP "f" protocol
  231.     (through PADS or dialup), or "x" with direct X.25 connects.
  232.  
  233.     Whether you use X.25 or phones plus modems depends on a number
  234.     of factors - usually the determining factor is cost.  In North
  235.     America, high speed modems (eg: 9600 baud and above) over telephone
  236.     lines tends to be less expensive.  However, Europe's really
  237.     wierd phone system structure usually makes X.25 more cost-effective,
  238.     and therefore, X.25 use in UNIX mail systems is much more common
  239.     in Europe than North America.
  240.  
  241.     X.29 is the command set used to configure and establish
  242.     X.25 connections when you're using asynchronous connections
  243.     to a PAD.
  244.  
  245. Networks:
  246.  
  247.     Internet:
  248.     An "internet" is a network comprised of computers that talk
  249.     to each other using TCP/IP, and usually SMTP for mail.
  250.  
  251.     The "Internet" is a vast network of hundreds of thousands of
  252.     machines using SMTP protocol mail, communicating with
  253.     each other over relatively high speed lines.  But not all
  254.     "internets" are connected to *the* Internet.
  255.     
  256.     The Internet grew out of a US government funded project in
  257.     inter-computer communications that grew into an enormous network
  258.     of systems.
  259.  
  260.     One of the principle characteristics of this network is that
  261.     machines are addressed by domain names which identify the
  262.     destination, rather than addresses that are constructed out
  263.     of the route from machine-to-machine-to-machine.
  264.  
  265.     UUCP Network:
  266.     The UUCP network is that set of machines that talk to each other
  267.     via UUCP.  Sending mail through this network requires that the sender
  268.     know the network topology of UUCP links, and specify a path from one
  269.     machine to the next.  (There are, of course, ways around this.
  270.     See the section on "do's and don'ts".)
  271.  
  272. Mail addresses:
  273.  
  274.     Addresses:
  275.     An email address is a method of specifying a given person on
  276.     a specific machine.  There are scads of conventions, usually
  277.     determined by the presence of "@"'s, "!"'s and other special
  278.     characters in the name.  An address usually consists of
  279.     two parts: a userid/name and a machine specification.
  280.  
  281.     A Domain address usually looks like:
  282.         userid@domain-address
  283.     Whereas a UUCP address usually looks like:
  284.         siteA!siteB!siteC!userid
  285.  
  286.     Domain Addresses:
  287.     Domains are a way of uniquely specifying a destination.
  288.     Much like a postal address, a domain specifies a set of
  289.     progressively more restrictive "domains" of the potential
  290.     address space.  It would perhaps be illustrative to give an
  291.     example:
  292.  
  293.         clewis@ferret.marketing.fooinc.com
  294.  
  295.     You read these things right to left: "com" means the
  296.     commercial domain.  "fooinc" is the name of an organization
  297.     within the commercial domain.  "Marketing" is the name of a
  298.     suborganization within fooinc, and ferret gives the name of
  299.     a machine (usually).  Domains can have any number of levels.
  300.  
  301.     The top level domain (com in the above example) has many
  302.     possible values.  In the United States, "com", "mil", "edu",
  303.     and "gov" are fairly standard.  Elsewhere, the top level
  304.     domain tends to be a country code, the second level tends to
  305.     be a province or state, OR a classification like "edu" or "ac"
  306.     for academic (such as ac.jp, go.jp, ac.uk, edu.au, etc)
  307.     and the third an organization.  But, for example, there are
  308.     many .com and .edu sites in Canada and other countries.
  309.  
  310.     FQDN
  311.     A fully-qualified-domain-name (FQDN) has a entry for each
  312.     level of the domain, from individual machine to top-level
  313.     domain.  In many cases, an organization has implemented an
  314.     organizational "gateway" at a higher level of domain, so
  315.     that people from outside don't have to specify FQDN's to get
  316.     to a specific person.  In the above example, for instance,
  317.     "fooinc.com" may be sufficient to get to anyone inside
  318.     fooinc, and "ferret.marketing" may not be necessary.
  319.  
  320.     On the other hand, people sometimes leave out the higher
  321.     levels of the address, as in "ferret.marketing".
  322.     This is a bad idea - because if the mail is cc'd out of the
  323.     organization, chances are the external recipient cannot reply,
  324.     because "ferret.marketing" is incomplete.  So use addresses
  325.     that are specified sufficiently for external users to use.
  326.     (fooinc.com if a organizational gateway is used, the whole
  327.     ferret.marketing.fooinc.com if not)
  328.  
  329.     NIC
  330.     Internet TOP-LEVEL domains (edu, com, gov, mil) are controlled
  331.     by a single organization, the NIC (internic.net).  An organization
  332.     "gets a piece" of the namespace by registering with the NIC, and
  333.     then they are free to administer their own namespace (everything
  334.     under fooinc.com) as they choose.  The same is true for foreign
  335.     countries; Once they have their top-level domain (usually the
  336.     two-letter ISO country code) registered with the NIC, they do
  337.     the rest, and divide it as they see fit.
  338.  
  339.     In contrast, on UUCPnet, all machine names everywhere share a
  340.     single flat namespace.  So it is important to choose a name
  341.     that has not been used before. (See do's and don'ts).  This is
  342.     why FQDN's help.  We can tell the difference between
  343.     ferret.fooinc.com and ferret.blah.edu by their full names.
  344.     (Instead of UUCP paths which may turn out to be wrong, and
  345.     autorouting will probably send the mail to the wrong machine)
  346.  
  347.     MX record:
  348.     A non-SMTP/Internet site that wishes to register on the Internet
  349.     will need to get a "nearby" Internet site to set up a MX
  350.     record for them.  An MX record is essentially a domain-server
  351.     database record that (effectively) registers your domain name
  352.     on the Internet, and indicates that the Internet site knows
  353.     how to forward mail to you.  Usually via some non-SMTP/Internet
  354.     route, such as UUCP.  You can get an MX record for one site, or
  355.     a "wildcard" MX record so that you can have your own subdomains.
  356.  
  357.     Bang-Paths:
  358.     With UUCP mail, the MTA has to specify a route to get from one
  359.     machine to another.  "A!B!C!userid" means go to machine A,
  360.     then B, then C, then user "userid" on C.  You should strive,
  361.     however, for a MUA that allows you to use domain addressing,
  362.     and let the MTA figure out the bang routing as appropriate.
  363.  
  364. Miscellaneous:
  365.  
  366.     Gateways:
  367.     There are several meanings of this term, only three are relevant
  368.     here.
  369.  
  370.     The first is a mechanism for getting from one network to another
  371.     network that uses different protocols.
  372.  
  373.     The second is a mechanism for getting from one logical (often
  374.     organizational) network to another using the same protocol.
  375.     Often for example, there will be a LAN in one department of
  376.     an organization, and one machine in the LAN has the connection
  377.     to another LAN in another department.  This means that mail from
  378.     one LAN to the other has to pass thru the gateway machine.
  379.  
  380.     Another form, which we'll mention later is that of mail to
  381.     news gatewaying.
  382.  
  383.     Routers:
  384.     There are several definitions, but the most important is that
  385.     part of the TA that figures out how to send a message to
  386.     a given machine.  This often uses a database that provides
  387.     routes from one machine to the other machines on the network.
  388.  
  389.     Smarthost:
  390.     In many cases, your machine won't know how to get to a specific
  391.     destination.  You can usually set up your mail system to send mail,
  392.     that it doesn't know how to deliver, to a machine that is more
  393.     likely to.
  394.  
  395.     RFC's:
  396.     A set of documents that include formal descriptions of mail
  397.     formats used on the Internet, and are adhered to by many
  398.     non-Internet systems.  More specifically, in the "worldnet"
  399.     of USENET, Internet and UUCP, the RFC's set the standards
  400.     for mail exchange.  RFC822, 1123 and 976 are the most important
  401.     for Internet/UUCP mail.
  402.  
  403.     It should be pointed out, however, that there are some
  404.     regions where the RFC's are not entirely respected.  For example,
  405.     the British academic email networks (JANET) uses domains, but
  406.     they're specified backwards (they drive on the wrong side of
  407.     the road too ;-).
  408.  
  409.     MIME:
  410.     Mime is the official proposed standard format for multimedia Internet
  411.     mail encapsulated inside standard Internet RFC 822 messages.  Facilities
  412.     include sending multiple objects in a single message, character sets
  413.     other than US-Ascii, multi-font text messages, non-textual material
  414.     such as images and audio fragments, and other extensions.  For an
  415.     overview of Mime, see ftp.uu.net:networking/metamail/MIME-overview.txt.Z.
  416.     The defining document is Internet RFC 1341: N Borenstein & N Freed,
  417.     ``Mime (Multipurpose Internet Mail Extensions) mechanisms for specifying
  418.     and describing the format of Internet message bodies'' (June 1992).
  419.     Also see RFC 1344: N Borenstein, ``Implications of Mime for Internet
  420.     mail gateways'' (June 1992).
  421.     RFC1341 and 1342 have since been superceded by RFC 1521 and 1522.
  422.  
  423.     Mime covers only message bodies, not message headers; to see how to
  424.     represent non-Ascii characters in message headers, see Internet
  425.     RFC 1342: K Moore, ``Representation of non-Ascii text in Internet
  426.     message headers'' (June 1992).
  427.     
  428.     X.400:
  429.     A CCITT standard for email formats, more or less an alternative
  430.     to RFC 822/976/1123.  This format will probably start taking over
  431.     from RFC 822/976/1123 mail.  It is likely to (already has?) become an
  432.     ISO/IEEE standard along with OSI etc.
  433.  
  434.     "The Maps":
  435.     A set of files describing machine-to-machine links distributed
  436.     over USENET in the group comp.mail.maps.  These are usually posted
  437.     on a monthly schedule, and can be automatically received and
  438.     transformed into a routing database that describes the "optimal"
  439.     route to each machine.  These are operated by the "UUCP Mapping
  440.     Project".  See the README posted along with the maps for
  441.     more details.
  442.  
  443.     Aliases:
  444.     Aliases are a mechanism by which you can specify the destination
  445.     for mail on your machine.  Through the use of aliases you can
  446.     redirect mail to "virtual userids".  For example, you should
  447.     have a mail destination on your machine called "postmaster", which
  448.     is aliased to send the mail to the System Administrator (ie: you
  449.     probably).  Aliasing often also permits you to send mail to groups
  450.     of users (not necessarily on the same machine as you) pipelines of
  451.     commands or to specific files.
  452.  
  453.     Mailing lists:
  454.     Are similar to USENET newsgroups.  They are usually aliases
  455.     pointing to groups of users, and allow mail to be sent to the
  456.     whole group at once.  Mailing lists are set up to carry certain
  457.     subjects.  The difference between a mailing list and a USENET
  458.     newsgroup is that the messages are sent by mail, probably as
  459.     a copy to each recipient, rather than broadcast.
  460.  
  461. ------------------------------
  462. Subject: Do's and Don'ts:
  463.  
  464. 1) Register a domain name.  Even on UUCP, where <machine>.UUCP is often
  465.    used as a kludge, it is MUCH preferred that you obtain a real
  466.    domain address.  If you are directly connecting to the Internet,
  467.    you will get one as part of your registration with the NIC.
  468.  
  469.    If you aren't connecting directly to the Internet, obtaining a
  470.    registration will usually require you finding a nearby friendly
  471.    Internet site willing to act as a mail forwarder to you from
  472.    the Internet - the site that will set up a "MX record" for you.
  473.    Many sites will do this for you for free, and several of the
  474.    commercial email services (eg: uunet) will do it for you for a
  475.    nominal charge (without requiring you buy the rest of their
  476.    services).
  477.  
  478.    There are occasions where you can join what is called a "domain
  479.    park".  These are most often small regional groups of systems that
  480.    have gotten one of their number properly registered as a domain,
  481.    and provides forwarding services out to other systems.  For
  482.    example, in my address "ferret.ocunix.on.ca", "ocunix.on.ca"
  483.    is a domain park made up of the Ottawa-Carleton UNIX User's Group,
  484.    one of the other machines in the group provides a gateway between
  485.    our systems and the Internet.
  486.  
  487. 2) If your machine is going to "speak" UUCP to the outside world,
  488.    choose a unique UUCP name.  You can find out whether a name you
  489.    want is taken by consulting the UUCP maps.  Or by asking someone
  490.    else who's using them.
  491.  
  492. 3) Register your machine with the UUCP Mapping Project if you're going
  493.    to use UUCP.  Information on how to do this is included in the
  494.    monthly maps postings in the file "README".  This is usually only
  495.    required when your machine talks UUCP to the outside world, or when
  496.    other machines have to address you by your UUCP name.  If you don't
  497.    do this, somone else may choose the same name, and gross confusion
  498.    will arise when smart routers won't be able to tell whether to send
  499.    a piece of mail to you, or your doppelganger[s].  If you register
  500.    with the UUCP Mapping Project, you have prior use, and people who
  501.    choose the same name afterwards will be told to get a new one.
  502.    
  503.    If you're "behind" an organizational gateway, don't do this.
  504.    (Your organizational gateway is the thing that needs to be
  505.    registered)
  506.  
  507.    If you do fill in a map, please take the time to fill it in
  508.    carefully, giving contact people and phone numbers.  Just in
  509.    case your machine goes crazy and starts doing something nasty.
  510.    Note expecially the latitude and longitude.  Get it right,
  511.    or omit it.  Brian Reid gets really annoyed with sites that
  512.    are half a world away from where they really are.
  513.  
  514. 4) If you're going to be setting up multiple machines, have only
  515.    one or two connections to the outside world.
  516.  
  517. 5) Install a mail system that understands domain addressing, even
  518.    if you aren't registered.  (In fact, all of the suggested
  519.    configurations in this FAQ do)
  520.  
  521. 6) *Never* use UUCP bang-routing with the MUA if you can possibly
  522.    avoid it - each of the suggested mail configurations provide
  523.    mechanisms where you, the user, do not have to specify routes 
  524.    to the MUA - you can specify domains, and the TA will do the
  525.    routing (possibly bang-routing) for you.
  526.  
  527.    Important: many mailers that understand UUCP attempt to be
  528.    pedantically "UUCPish" in the construction of headers, such
  529.    as generating "bang routes" in From:/To: etc. lines.  Which,
  530.    given that the whole "mail network" is generally converging on
  531.    more Internet-like standards, and that even UUCP sites are
  532.    using fully domain-capable mailers, is a big mistake.  RFC976
  533.    attempts to codify a "meta standard" that allows the coexistance
  534.    of RFC822/1036 (Internet mail) with UUCP-based networks.  What
  535.    this means is, essentially, that headers are formed in the
  536.    SMTP form, even if the transport will be via UUCP.  Unfortunately,
  537.    however, many mailers insist on "UUCP-izing" perfectly useable
  538.    Internet/domain headers.  "Fixing" them to prevent this is sometimes
  539.    difficult.  Sendmail is almost always a problem in this regard.
  540.  
  541. 7) Find a friendly neighboring SA to help.  A SA who has already
  542.    operating mail in your area will help smooth over the regional
  543.    "gotchas" that are bound to crop-up.  And advise you on the
  544.    right software to use, where to obtain it, and how to install it.
  545.  
  546. 8) Do NOT use "any old" Map unpacking program.  Most available
  547.    map unpacking programs automatically run the shell (or shar)
  548.    to unpack map articles.  Since it is trivially easy to forge
  549.    map articles, using this type of unpacking program can
  550.    easily let very destructive trojan horse or virus programs
  551.    into your machine.
  552.  
  553.    The two specific map unpackers described in this FAQ are known
  554.    to be secure from such attacks.  Do not run any other unpacker
  555.    unless you are aware of the issues and can inspect the code for
  556.    such vulnerabilities.  [If you know of other "secure" map
  557.    unpackers that are generally available, please let me know]
  558.  
  559. 9) If the people on your site, or small network, receive mailing
  560.    lists, it's often a good idea to gateway them to news:
  561.  
  562.    Netnews often performs many of the same services as email.
  563.    The primary difference is that messages are centrally stored,
  564.    rather than delivered to individual's mailboxes, and that
  565.    distribution looks more like a broadcast then a set of point-to-point
  566.    communications.  This means usually means that news can handle more
  567.    volume, more efficiently, then email can.
  568.  
  569.    Because of the differences (and also the similarities) people often
  570.    want to tie news and mail together.  This is known as "gatewaying."
  571.    For example, a small software development site might subscribe to the
  572.    X Windows mailing list.  Rather than have (say) eight copies of each
  573.    mail message sent to their host, they would rather have it stored as a
  574.    local newsgroup that everyone in the company can read, and which can
  575.    be centrally archived.  This is a typical use of a "mail to news"
  576.    gateway.  When a user makes a posting to this local group the article
  577.    should be sent back out to the mailing list; this is a typical use of
  578.    a "news to mail" gateway.
  579.  
  580.    On a larger scale, the "inet" groups are bi-directional gateways of
  581.    Internet mailing lists.  Within mainstream Usenet, many popular
  582.    groups such as comp.windows.x, comp.protocols.tcp-ip, comp.unix.wizards,
  583.    and so on, are gatewayed to mailing lists and back.
  584.  
  585.    Many subtle issues often come up when gatewaying mail and news, so
  586.    unless you are experienced you should use one of the already-available
  587.    packages for your local organization.  For example, you probably do not
  588.    want to write a brand-new Perl script and create a new "inet" newsgroup.
  589.    The C News distribution includes some basic gateway tools in the
  590.    contrib/nntpmail directory.  Many people use Rich $alz's "newsgate"
  591.    package that appeared in comp.sources.unix Volume 24; it includes
  592.    discussion of some of the more subtle issues that come up.
  593.  
  594.    Before starting a mailing list gateway, apart from the technical aspect
  595.    of the job you should also be aware of one important point: mailing-lists
  596.    are considered private, whereas newsgroups are public.
  597.     
  598.    One can know who gets a list, but not who reads the group. It is always
  599.    wise to get the authorization of the mailing-list manager and of the readers
  600.    before creating a mail/news gateway.
  601.  
  602. 10) If you're connecting to the Internet, or are setting up a large local
  603.    internet, you really should get a copy of the DNS and BIND book mentioned
  604.    in the bibliography.
  605. -- 
  606. Chris Lewis: _Una confibula non sat est_
  607. Phone: Canada 613 832-0541  Ferret list: ferret-request@ferret.ocunix.on.ca
  608. Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/*
  609. Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*
  610.