home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / Documents / FAQ / Autos-faq / faq / part6 < prev    next >
Encoding:
Text File  |  1993-04-21  |  5.4 KB  |  131 lines

  1. Newsgroups: rec.autos,rec.autos.tech,rec.autos.sport,rec.autos.driving,rec.autos.vw,rec.autos.antique,news.answers
  2. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!ai-lab!mintaka.lcs.mit.edu!yale!yale.edu!spool.mu.edu!howland.reston.ans.net!bogus.sura.net!udel!news.intercon.com!psinntp!balltown!welty
  3. From: welty@cabot.balltown.cma.COM (richard welty)
  4. Subject: rec.autos: Automotive Mailing Lists: how to set up your own
  5. Message-ID: <1993Apr20.040503.18447@cabot.balltown.cma.COM>
  6. Followup-To: rec.autos
  7. Keywords: Monthly Posting
  8. Reply-To: welty@balltown.cma.com
  9. Organization: New York State Institute for Sebastian Cabot Studies
  10. Date: Tue, 20 Apr 1993 04:05:03 GMT
  11. Approved: news-answers-request@MIT.Edu
  12. Lines: 116
  13. Xref: senator-bedfellow.mit.edu rec.autos:103731 rec.autos.tech:54173 rec.autos.sport:29552 rec.autos.driving:16492 rec.autos.vw:14448 rec.autos.antique:1247 news.answers:7767
  14.  
  15. Archive-Name: rec-autos/part6
  16.  
  17. [New article as of 4 February 1993 -- rpw]
  18.  
  19.  
  20. Many people want to set up mailing lists for their favorite
  21. automotive topics; rather fewer know how to do it.  This article
  22. will provide the essential information for doing so on standard
  23. Unix systems.  A shell script and examples of alias file setups
  24. are included which presently run on a Sparc 2 here at balltown.cma.com
  25. for a number of mailing lists.  Note that if you do set up an automotive
  26. mailing list, please let me know of the -request address so that I can
  27. list it in the montly rec.autos posting.  Also inform the keeper of the
  28. Usenet list-of-lists (check news.answers for this monthly posting.)
  29.  
  30. First of all, to get anywhere, you need to either 1) be a sysadmin,
  31. or 2) have some measure of assistance from your sysadmin.  It is also
  32. important that you have reasonably good network connectivity; if it seems
  33. like you get everything several days after anyone else, or that you
  34. have trouble getting email through, then your network connectivity is
  35. probably not good enough.
  36.  
  37. Listserv:
  38.  
  39. There is a handy automated mailing list package named listserv, which
  40. is available from several ftp servers on the network.  Details of
  41. the installation and operation of listserv are beyond the scope of this
  42. article, but anyone who is considering running a large mailing list should
  43. probably  look at listserv carefully.
  44.  
  45. The Alias file:
  46.  
  47. On a typical unix system; there is a file named /usr/lib/aliases on
  48. whichever file server is your mail host; it contains lines such as:
  49.  
  50. foo:   bar, baz, bletch
  51.  
  52.  
  53. which means that any email sent the name `foo' on that host is
  54. redistributed to users bar, baz, and bletch.  thus, the simplest
  55. possible email list is 
  56.  
  57. my-favorite-car:  member1, member2, member3, my-address
  58. my-favorite-car-request: my-address
  59.  
  60. this has a couple of problems; the most noticeable one being that
  61. you have to be superuser to edit the alias file.  however, you can
  62. do the following, with the connivance of your sysadmin:
  63.  
  64. my-favorite-car: :include:/home/mydir/misc/autos/my-favorite-car-list
  65. my-favorite-car-request: my-address
  66.  
  67. Where the file specified is a list of comma and newline separated
  68. addresses.  This file can be in the list admin's home directory,
  69. owned by the list admin.
  70.  
  71. Bounced Mail:
  72.  
  73. this still has a problem; bounced mail usually gets distributed to all the
  74. members of the list, which is generally considered somewhat irritating.
  75. Therefore, the way that the driving school mailing list is set up
  76. is instructive (Thanks to harpal chohan of the bmw list for this setup,
  77. by the way.  I'm not sure where he got it from.)
  78.  
  79.  
  80. school-request:   welty
  81. school-rebroadcast:  :include:/home/newwelty/misc/autos/school/list
  82. school: "|/usr/local/adm/bin/explscript school"
  83. owner-school: school-request
  84. owner-school-out: school-request
  85.  
  86.  
  87. here's what is going on here:
  88.  
  89. the owner- and -request addresses are intended as traps for bounced mail
  90. coming from the network.  the -request address also serves as the point
  91. of contact for administrative duties.
  92.  
  93. school is what people send mail to; instead of pointing at addresses,
  94. it points at a shell script which rewrites headers before resending
  95. the email.  school-broadcast (of which nobody except me knows the name;
  96. the name has been changed here to protect my own sanity) points at the
  97. actual list members.
  98.  
  99. the shell script i use is as follows:
  100.  
  101. -----------------
  102. #!/bin/sh
  103. cd /tmp
  104. sed -e '/^Reply-To:/d' -e '/^Sender:/d' -e '/^From /d' | \
  105.         (echo Reply-To: ${1}@balltown.cma.com; \
  106.          echo Errors-To: ${1}-request@balltown.cma.com; \
  107.          echo Sender: ${1}-request@balltown.cma.com; \
  108.          cat -) | \
  109.         /usr/lib/sendmail -om -f ${1}-request@balltown.cma.com \
  110.                 -F "The ${1} Mailing List" ${1}-rebroadcast
  111. exit 0
  112. -------------------
  113.  
  114. note that this script does not know the name of the list; the name
  115. is passed in from outside, so that the script may be used for multiple
  116. lists (i run several out of this site.)
  117. the script excises Reply-To:, Sender:, and From lines from the incoming
  118. message, substitutes for Sender: and Reply-To:, and adds Errors-to:
  119. 99.9% of all email bounce messages end up being sent to the -request
  120. or owner- addresses if this header rewrite is done.
  121.  
  122. For digested lists, there is some digestification software around.
  123. Hopefully I'll be able to provide more information in a future version
  124. of this posting.
  125.  
  126. richard welty (welty@balltown.cma.com)
  127. -- 
  128. richard welty        518-393-7228       welty@cabot.balltown.cma.com
  129. ``Nothing good has ever been reported about the full rotation of
  130.   a race car about either its pitch or roll axis''  -- Carroll Smith
  131.