home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / mail / setup.unix.part1 < prev    next >
Encoding:
Text File  |  1995-07-25  |  26.5 KB  |  599 lines

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