home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / gigop806.zip / MAILLIST.FAQ < prev    next >
Text File  |  1994-04-26  |  8KB  |  178 lines

  1. Q:  How do I host a mailing list?
  2. Q:  Sample of hosting a mailing list
  3.  
  4. A:  [This _only_ applies if you are trying to HOST the mailing list;
  5.      if all you want to do is _translate_ an existing mailing list
  6.      from another site into echomail and vice versa, see the MAPPING
  7.      faq].
  8.  
  9.     Hosting a mailing list is easy with GIGO.  GIGO contains two verbs,
  10.     called CAPTURE (which intercepts messages to certain email addresses,
  11.     newsgroups, and/or echos), and EXPLODE (which sends the captured
  12.     messages to the various recipients).
  13.  
  14.     In addition, you may find LISTSERV to be a valuable tool; that is 
  15.     discussed seperately.  It's main function is to automate 
  16.     subscribe and unsubscribe requests from various users.
  17.  
  18.     The best way to explain how this works, is with a real example of 
  19.     hosting such a mailing list.
  20.  
  21. Problem: 
  22.     You wish to host a mailing list (called "fubar-l") at your site.
  23.     You wish to also have this translated to an echomail conference
  24.     called "FUBAR", as well as to the newsgroup "alt.fubar".
  25.  
  26. Q:  How do I create a .ML file?
  27. Q:  What is a .ML file?
  28.  
  29.     A .ML file is simply an ASCII file, with a list of recipients.
  30.     Each line should have exactly one address on it, and should
  31.     not include the real name or any other extraneous information.
  32.  
  33.     Create a file called "fubar.ml" in your GIGO directory.
  34.     You will want to place one email address per line in this file.
  35.     Ie,
  36.        +-------------------
  37.        |null@wmeonlin.sacbbx.com
  38.        |somebody@somewhere.else.org
  39.        |root@yoursite
  40.        |
  41.     It is probably a good idea to include your regular email address on
  42.     this list, at least at first, to help confirm that everything is 
  43.     working as planned.
  44.  
  45.  
  46.  
  47. Q:  How do I set up addresses for posting news and echomail by email?
  48.  
  49.  +-- Skip these instructions if you have already done this for another
  50.  |   mailing list; they are only needed once for your gateway.
  51.  |
  52.  |  Next, you are going to add a couple of SITE statements in your 
  53.  |  gateway.cfg file.  You may instead wish to INCLUDE MAILLIST.CFG,
  54.  |  and keep your mailing list configuration in this config file instead.
  55.  |  A sample one should be included in the GIGO archives.
  56.  |
  57.  |  Add:
  58.  |    SITE pnews news       ; creates a SITE to post to newsgroups with
  59.  |    SITE pecho echo       ; creates a SITE to post to echomail with
  60.  |
  61.  |  These two SITE statements allow posts to go to places such as
  62.  |  ECHONAME%pecho@yoursite.domain.  You may change "pnews" and "pecho" 
  63.  |  to something else of your choice for security reasons :-) ; these
  64.  |  are just the examples that I am using.  It is suggested that you
  65.  |  do use a different set of names, so that you don't get some twit
  66.  |  hacking via your gateway.
  67.  |_____________________________________________________________________  
  68.  
  69.  
  70. Q:  What is this "badmail.ml" file?
  71. Q:  What are .MLB files?
  72.  
  73.     "BADMAIL.ML" is a file a bit unlinke the other .ml files; this file
  74.     is actually a set of rules that tell GIGO what mail should _not_ be
  75.     re-broadcast in the mailing list.  You would want to tell GIGO 
  76.     that messages from mailer-daemons, etc are not to be resent, as these
  77.     are normally bounce messages that did not go to the bounce address.
  78.  
  79.     Each line in this file should be the token name to look for
  80.     (ie, "From:" or "Subject:"), followed by a space, and then the
  81.     text that defines it as a bad message.  An example file would be:
  82.        +-------------
  83.        |From: daemon
  84.        |From: Mailer-Daemon
  85.        |From: daemon
  86.        |From: DAEMON
  87.        |From: !uucp
  88.        |From: uucp@
  89.        |From: Post Office
  90.        |Subject: Returned mail:  Host
  91.        |
  92.     Any message that has been determined to be bad by the rules defined,
  93.     will be saved as a .MLB (Mailing List - Bad) file instead of a 
  94.     .MLQ file.  You can either delete these messages, or (preferably)
  95.     take a look at them first, and possibly rename it to a .MLQ
  96.     file and let it actually be sent out.
  97.  
  98.  
  99. Q:  How does one CAPTURE messages for a mailing list that I am hosting?
  100.  
  101.     Now, you must tell GIGO what messages to CAPTURE, and where to
  102.     place them.  You will also want to tell GIGO where bounced messages
  103.     from the mailing list should be sent (undoubtedly, someone's address
  104.     who subscribes will not be valid).
  105.  
  106.     Assuming:
  107.       you want to use the "fubar\" subdirectory
  108.       you want error messages to be sent to "fubar-owner@yoursite.etc"
  109.       you want _email_ to  fubar-l captured
  110.       you want _news_  in "alt.fubar" captured
  111.       you want _echomail_ from "FUBAR" captured
  112.       you have a defination of "bad mail" in badmail.ml
  113.       you want to name the mailing list "The Fubar Debate"
  114.  
  115.     you will want to create the following CAPTURE line:
  116.  
  117.     CAPTURE fubar\ fubar-l fubar-owner alt.fubar FUBAR badmail.ml The Fubar Debate
  118.  
  119. Q:  What is a .MLQ file?
  120.  
  121.     Once this is defined, any messages sent in any of the three mediums
  122.     will be captured, and placed into the fubar\ directory as a *.MLQ
  123.     file (MLQ stands for Mailing List Queue).  It is a plain ASCII 
  124.     text file, with the first line of that text file being a Ctrl-A
  125.     followed by "ECHO", "NEWS", or the email address of the person 
  126.     that posted the message.  This information is used by EXPLODE so that
  127.     the message is not sent back to the same place the message originally
  128.     came from.
  129.  
  130.     Note that you may have multiple CAPTURE lines, even pointing to the
  131.     same directory (ie, if you have multiple incoming email addresses).
  132.     Only the first applicable CAPTURE statement for a given message will be 
  133.     used.
  134.  
  135.  
  136.  
  137. Q:  How do I send out the .MLQ files that were CAPTURED
  138.  
  139.     Now that you have these captured messages, you are going to need to send 
  140.     them out to the various recipients.
  141.  
  142.     Assuming that you created "SITE pnews news" and "SITE pecho echo",
  143.     and assuming that we are following up on the previous example 
  144.     for the FUBAR mailing list:
  145.  
  146.     EXPLODE fubar\ fubar.ml fubar-owner alt.fubar@pnews.mysite.org FUBAR@pecho.mysite.org
  147.  
  148. [Quoted from MAILLIST.CFG]
  149.  
  150.  ;  Whenever GIGO runs, if there are any EXPLODE statements in the config
  151.  ;  file, GIGO will look at the specified files for *.MLQ files.  If
  152.  ;  it finds any, it will process those files, and rename them to
  153.  ;  *.MLS files (Mailing List Sent).  You may either do further processing
  154.  ;  on them, or simply delete them - that is up to you.  The author
  155.  ;  saves them in an archive for later use.
  156.  ;
  157.  ;  When GIGO finds a MLQ file to be sent out, it will take a look at the
  158.  ;  first line of the file.  If it starts with Ctrl-A (""), it will
  159.  ;  assume that that first line contains the phrase "NEWS", "ECHO",
  160.  ;  or the email address of the person that wrote the message (if the
  161.  ;  message was sent as email instead of via the newsgroup or echo).
  162.  ;
  163.  ;  GIGO will then take a look at the list of recipients, and start generating
  164.  ;  the appropriate information in the spool directory for sending messages
  165.  ;  out to all of the recipients.  GIGO will bundle roughly 10 addresses at a
  166.  ;  time to a single message (if you have 100 recipients, you are likely going
  167.  ;  to send out 10 messages with 10 people on each one).  The exact number
  168.  ;  will vary ; GIGO will never place more than 250 characters on the "rmail"
  169.  ;  line in the XQT files.
  170.  ; 
  171.  ;  GIGO will also want to send the message to an email->newsgroup address,
  172.  ;  and an email->echomail address.  GIGO can provide these address.  These 
  173.  ;  are only neccessary if you wish have messages from the mailing list 
  174.  ;  sent to a newsgroup, or sent to an echo, or both.  This provides a 
  175.  ;  3-way gate between all 3 medias.
  176.  
  177.  
  178.