home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / email / dove0793.zip / NEWSSCAN.DOC < prev    next >
Text File  |  1993-07-30  |  13KB  |  217 lines

  1. Documentation of certain features of NEWSSCAN.EXE:
  2.  
  3. [NEW as of July 30, 1993:] IF you are a user of the KA9Q (NET.EXE) program,
  4. NEWSSCAN can now export messages from your message base to KA9Q's outbound
  5. mail queue area, for delivery to a mail-to-news server.  This, combined with
  6. the ability of NEWSTOSS to process batched newsgroup files received from an
  7. NNTP news server, in effect allows NEWSSCAN to support LEAF NODE OPERATION
  8. ONLY using KA9Q.  This is NOT the primary reason that NewsScan was written,
  9. and the added code to support KA9Q mode operation is a bit kludgey, but for
  10. those who find themselves with direct Internet access using KA9Q, you can now
  11. export messages directly.  See the keywords starting with KA9Q in the sample
  12. configuration file for more information.
  13.  
  14. [Now the original documentation begins.  Please note that the personal mail
  15. addresses given in this document are NO LONGER VALID, but were left in place
  16. in this document to illustrate certains aspects of NewsScan operation:]
  17.  
  18. NEWSSCAN.EXE is a program to scan messages TO an UNcompressed batched
  19. newsgroup packet FROM Fidonet *.msg files.  If you are a "leaf node", you
  20. could possibly use this program alone (without necessarily running DoveMail)
  21. to scan incoming newsgroup files.  This is not a complete documentation file
  22. that describes ever feature of the program, but you should be able to figure
  23. everything out from the sample configuration file included in the archive
  24. (please READ the configuration file, it is very well commented).  A few things
  25. to note when using this program:
  26.  
  27. * First, NewsScan can now read a text file listing of newsgroups to process
  28. (similar to ConfMail's "ConfMail.Out" file), if you put the filespec on the
  29. command line with a preceeding "-f" switch, like this:
  30.  
  31.      NewsScan -fNEWSSCAN.OUT
  32. or
  33.      NewsScan ALTERNTE.CFG -fNEWSSCAN.OUT
  34.  
  35. If anything is found on the command line that does not look like a switch, it
  36. will be taken as the name of the configuration file to be used.  At present,
  37. -f is the only switch recognized.  If you use the -f switch, please note that
  38. whatever program creates the text file listing must output the full name of
  39. the newsgroups you want to scan... for example, if you carry comp.dcom.modems
  40. but your BBS or message editor thinks it's called UUCP_MODEMS (because you
  41. used the latter as the "echomail tag"), then that area won't get scanned
  42. because NewsScan will be looking for the full name "comp.dcom.modems".
  43. NewsScan will NOT delete the file specified by the -F switch, in case you want
  44. it kept around for use by your echomail processor (if you DON'T want it, just
  45. put a DEL command in your batch file following the call to NewsScan).  If you
  46. specify a file with the -f switch and it doesn't exist, NewsScan will exit
  47. without doing anything.  However, if it does exist but for some reason
  48. NewsScan can't open it, it will act as though the -f switch isn't there and
  49. scan all of your newsgroup areas.
  50.  
  51. * NewsScan DOES make use of the conventional High Water Mark stored in 1.msg
  52. (you can use either the regular or alternate HWM), so you may have to tell
  53. certain software (such as renumbering programs) that newsgroup areas are
  54. ECHOMAIL areas so that they'll properly maintain the High Water Mark (however,
  55. if you do this in a BBS program, try if possible to do it in such a way that
  56. tear lines and/or SEEN-BY lines are NOT added to the message.  NewsScan can
  57. strip off such lines if you need it to, but you run the risk that occasionally
  58. a message may be truncated prematurely if it contains something that looks
  59. like a tear line prior to the actual end of the message).
  60.  
  61. * NewsScan marks a message as SENT (using the SENT bit in the attributes word
  62. of the message header) after exporting it.  NewsTOSS also marks messages as
  63. SENT when tossing them.  Thus, you CANNOT (and SHOULD NOT!) export a message
  64. that was originally imported by NewsToss.  Please do NOT try to defeat this...
  65. use DoveMail to send newsgroups to other nodes!
  66.  
  67. * NewsScan will simply ignore any messages over 12K in length (although it
  68. will complain a bit if you have logging enabled).  Most Fidonet BBS programs
  69. will not allow you to enter a message anywhere near this long, so this should
  70. not be a problem.  If this does present a major problem for anyone, please let
  71. me know... I may not fix it right away, but it may rise in priority on my
  72. "still to do" list.  You can blame this limitation on the geniuses that
  73. decreed that Fidonet messages could have control information at both the top
  74. and bottom of the message, since it means that the entire message must fit in
  75. memory during processing.
  76.  
  77. * Always run NewsScan IMMEDIATELY after a BBS user logs off, if the user has
  78. left a message in a newsgroup area, or reply linking may not work properly.
  79. If NewsScan determines that a message is a reply, and it can find what appears
  80. to be the original message, it will try to create a proper "References:" line
  81. from the "References" line (if any) and the Message-ID line in the message
  82. being replied to.  Obviously, this won't work correctly if a "reply linker" or
  83. some other software screws up the backward pointer to the message being
  84. replied to, so always run NewsScan as soon as possible after a user logs off,
  85. and DEFINITELY before using any software that diddles with the messages or
  86. message headers.
  87.  
  88. * A further note on replies:  If the original message contains a
  89. "Followup-To:" line, the reply will be sent to the newsgroups specified in
  90. that line, as per RFC-1036.  If no "Followup-To:" line is present, the reply
  91. will be posted to all newsgroups specified in the "Newsgroups:" line of the
  92. original message (the "Newsgroups:" line of the original is copied to the
  93. reply). If a reply message is posted to multiple newsgroups, the *.msg file
  94. containing the reply will be copied to as many of those newsgroup areas as
  95. NsesScan knows about, so that locally entered replies WILL appear in all of
  96. the areas that they are posted to after NewsScan is run.
  97.  
  98. * NEWSSCAN now supports the use of SIGNATURE FILES.  Normally only the sysop
  99. will have a signature file, but you can offer them to your users as well if
  100. you like.  In the config file you can associate user names (which should of
  101. course exactly match the way the user's name is found in your BBS's user log)
  102. with a "signature file."  This file can contain either or both of the
  103. following items:
  104.  
  105. 1) A "From" address that will appear on the "From:" line of any outgoing
  106. messages by that user,
  107.  
  108. 2) A "signature" of one or more text lines that will be automatically appended
  109. to the bottom of messages entered by that user.
  110.  
  111. Let's take each item individually:
  112.  
  113. The alternate "From" address is useful when a user wishes to receive mail
  114. through another system, or using a different address other than the normal
  115. "...fidonet.org" (or whatever) address that you use as a default.  To use this
  116. feature, the "signature file" for that user should contain **ON THE VERY FIRST
  117. LINE** the word "From:" (WITH the colon!) followed by the address EXACTLY AS
  118. IT IS TO APPEAR.  Note that no validity checking of this address will be done,
  119. so YOU must make sure that the spacing, capitalization, or whatever are
  120. correct.
  121.  
  122. For example, at the time I am writing this I can receive mail through
  123. myamiga.mixcom.com, so I might use the following "From:" line in the signature
  124. file:
  125.  
  126. From: jack@myamiga.mixcom.com (Jack Decker)
  127.  
  128. Note that the above line is EXACTLY as it is to appear in the message, and
  129. conforms to Internet addressing specifications.  If you screw this up, you're
  130. sure to hear about it.  Please note that only the FROM line can be changed -
  131. in particular, you cannot change the "Path:" line (nor should you).  Also note
  132. that when a "From:" line is used in this way, NewsScan will automatically
  133. generate a "Sender:" line that will identify where the message really came
  134. from.  For example, if I used the above line, the "Sender:" line that would be
  135. generated would be:
  136.  
  137. Sender: DoveMail@f8.n154.z1.fidonet.org (DoveMail NewsScan)
  138.  
  139. The remainder of the signature file (INCLUDING the first line if it doesn't
  140. start with the word "From:") will be appended to the end of any messages
  141. entered by the specified user.  Note that it will put whatever's in the
  142. signature file right up underneath the bottom of the message, so you'll
  143. normally want to start with a blank line.  Use an editor that creates plain
  144. text (no high-bit, graphic, or control characters, please!) and don't create
  145. lines over 79 characters in length (it won't blow up NewsScan, but readers of
  146. your messages will silently curse you!) and try to keep your signatures short.
  147. Quoting Emily Postnews, the "foremost authority on proper net behaviour":
  148.  
  149.    Dear Miss Postnews: How long should my signature be? -- verbose@noisy
  150.  
  151.    A: Dear Verbose: Please try and make your signature as long as you
  152.    can.  It's much more important than your article, of course, so try
  153.    to have more lines of signature than actual text.
  154.  
  155.    Try to include a large graphic made of ASCII characters, plus lots of
  156.    cute quotes and slogans.  People will never tire of reading these
  157.    pearls of wisdom again and again, and you will soon become personally
  158.    associated with the joy each reader feels at seeing yet another
  159.    delightful repeat of your signature.
  160.  
  161.    Be sure as well to include a complete map of USENET with each
  162.    signature, to show how anybody can get mail to you from any site in
  163.    the world.  Be sure to include Internet gateways as well.  Also tell
  164.    people on your own site how to mail to you.  Give independent
  165.    addresses for Internet, UUCP, and BITNET, even if they're all the
  166.    same.
  167.  
  168.    Aside from your reply address, include your full name, company and
  169.    organization.  It's just common courtesy -- after all, in some
  170.    newsreaders people have to type an *entire* keystroke to go back to
  171.    the top of your article to see this information in the header.
  172.  
  173.    By all means include your phone number and street address in every
  174.    single article.  People are always responding to usenet articles with
  175.    phone calls and letters.  It would be silly to go to the extra trouble
  176.    of including this information only in articles that need a response by
  177.    conventional channels!
  178.  
  179. I suppose that for those who don't get it, I should include the disclaimer that
  180. appears at the top of the widely-circulated "Dear Emily Postnews" article:
  181.  
  182.    **NOTE: this is intended to be satirical.  If you do not recognize
  183.      it as such, consult a doctor or professional comedian.  The
  184.      recommendations in this article should recognized for what
  185.      they are -- admonitions about what NOT to do.
  186.  
  187. (Credit the above to Gene Spafford, spaf@cs.purdue.edu.  See the
  188. news.announce.newusers or news.answers newsgroup for the complete text of this
  189. article, which is reposted at fairly regular intervals).
  190.  
  191. Getting back to the signature file, you can see that you can either use the
  192. "From:" line modification alone (by having only one line that starts with the
  193. word "From:"), or just an appended signature, or both the modified "From:"
  194. line AND the signature.  If you use both, you'll probably want a single blank
  195. line after the "From:" line, otherwise you'll want the top line to be a single
  196. blank line to separate the signature text from the rest of your message.
  197.  
  198. And just in case you missed it the first time:  DO NOT use control or high-bit
  199. graphic characters in your signature file.  NewsScan assumes you know what
  200. you're doing with a signature file (unlike message text, where it WILL strip
  201. out illegal characters).
  202.  
  203. Read the configuration file and the SAMPLE.SIG file for more information.
  204.  
  205. One final note about signature files.  Don't use them if you are trying to use
  206. NewsScan as part of an Echomail to Newsgroup gateway scheme.  You shouldn't be
  207. doing this anyway, but someone's bound to try it.  The problem in using
  208. signature files in such an application is that NewsScan assumes that all
  209. messages not already marked as sent (that is, all messages waiting to be
  210. scanned out) originated on your BBS, and that you don't have two users with
  211. the same name.  If you are using NewsScan in a gateway situation, they may be
  212. another user on another BBS that has the same name as you, or another user on
  213. your BBS that has a signature file, and that signature file would get appended
  214. to the other guy's message.  If you are passing newsgroups as newsgroups (the
  215. way DoveMail was designed to operate), then you don't have to worry about
  216. this, since NewsScan never messes with your newsgroup feeds to other systems.
  217.