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

  1. READ.ME File for DoveMail (includes "documentation", such as it is, for
  2. NewsToss and NewsScan):
  3.  
  4. PLEASE NOTE:  DoveMail and NewsToss now have the ability to process a
  5. batched newsgroup file created by newer versions of the KA9Q program (in
  6. particular a version found on an FTP site in England) that contains carriage
  7. returns in addition to linefeeds.  DoveMail will never CREATE a batched
  8. newsgroup file with carriage returns, however.  Since those who receive news
  9. using the KA9Q program (via an NNTP news server) currently have no easy way
  10. to post news (most NNTP sites seem to disallow posting), NewsScan supports
  11. posting only via a mail to news server.  See the "KillCR" keyword in the
  12. sample DoveMail/NewsToss config files, and the new keywords that start with
  13. "KA9Q" in the NewsScan config file for details.
  14.  
  15. PLEASE NOTE:  Some previous versions of DoveMail, NewsToss and NewsScan
  16. allowed you to use the "MaxGroups" keyword in the config file.  This line is
  17. no longer needed, nor is it recognized.  Also, DoveMail, NewsToss, and
  18. CUnBatch will now process incoming batched newsgroup files in file datestamp
  19. order, in an attempt to keep messages in some semblance of order.
  20.  
  21. This archive contains a BETA-TEST version of DoveMail, a newsgroup processor
  22. designed to pass UseNet-type newsgroups between Fidonet-technology nodes in
  23. native RFC-822 / RFC-1036 (batched newsgroup) format.  It also contains
  24. several other programs which you may or may not need in your particular
  25. situation, plus some documentation, sample batch files (PLEASE READ THESE!
  26. They may be more helpful to you than the documentation!), and a copy of the
  27. RFC-1036 specifications for newsgroup messages (please note that RFC-1036 is
  28. the ideal, but there are certain limitations on MS-DOS machines that inhibit
  29. 100% compliance.  Still, DoveMail comes close enough that you won't have any
  30. problems with sending improperly formatted messages into the net, or anything
  31. like that).  There's also a copy of a proposed FTSC standard for "Newsgroup
  32. Interchange Within Fidonet", which has been assigned the number FSC-0059
  33. by the Fidonet Technical Standards Committee, and is included in this archive
  34. for your perusal.  And, there's a little file called MAXSTUFF.ZIP which is a
  35. little extra help in using DoveMail for those run the Maximus BBS software.
  36. Here is a rundown of the programs included in this archive, and the
  37. circumstances under which you might use them:
  38.  
  39. DOVEMAIL.EXE:  You need DoveMail if you are sending newsgroups to and from
  40. other nodes, whether in Fidonet or in the Internet/UseNet.  It passes
  41. newsgroups in the native RFC-822 / RFC-1036 batched newsgroup format.
  42.  
  43. DOVEPACK.EXE:  You need DovePack if you are sending newsgroups to other nodes
  44. and your current mail packer does not recognize the *.UUT/*.PKU naming
  45. convention for batched newsgroup packets.  If you have limited memory, or use
  46. an archiver that requires large amounts of memory, you may also need to use
  47. the SHROOM program described below.
  48.  
  49. NOFLO100.LZH is an archive of a program that I did NOT write, but that you
  50. MAY find useful if you are using DovePack and your system needs file attach
  51. MESSAGES (rather than ".flo" files) to be created before it can deliver
  52. outgoing mail.  DovePack can do this by itself to a limited extent, but if it
  53. doesn't meet your needs, this program might.  See the documentation for
  54. DovePack for more details.
  55.  
  56. COMPRESS.EXE:  This is another program that I did NOT write, but that you may
  57. need.  You need this program if you are receiving COMPRESSed batched
  58. newsgroup files (probably directly from a system in UseNet or some other
  59. branch of the Internet).  When decompressing files, I suggest calling this
  60. version of COMPRESS by using  COMPRESS -dfv <filemask>, where <filemask> is a
  61. filename (possibly including wildcard characters) of the files you want to
  62. decompress.  Note:  When calling COMPRESS from a batch file, I suggest the
  63. use of a batch file line similar to this:
  64.      FOR %%A IN (<filemask>) DO compress -dfv %%A
  65. but replace <filemask> as indicated above.  This forces COMPRESS to deal with
  66. each file one at a time.  If you don't do this, and one or more compressed
  67. files are bad, COMPRESS will stop when it encounters the first bad file and
  68. will leave it and any other remaining (possibly good) files compressed.  If
  69. you do use the FOR...IN...DO construct, then COMPRESS should find and
  70. decompress ALL of the good files [NOTE: If you shell to COMPRESS from the
  71. CUNBATCH program described below, you don't need to do the batch file
  72. trick... CUNBATCH will automatically force COMPRESS to deal with the files
  73. one at a time].  This version of COMPRESS is able to decompress files created
  74. with 12 bit or 16 bit compression, but I'm not sure that it will decompress
  75. files created with 14 bit compression, should you ever receive such files.
  76. You can get a help screen for this program by typing COMPRESS -?, and there
  77. is also a separate documentataion file (COMPRESS.DOC).
  78.  
  79. CUNBATCH.EXE:  You need this program if you are receiving COMPRESSed batched
  80. newsgroup files (probably directly from a system in UseNet or some other
  81. branch of the Internet), and the files have the "c" header ("#! cunbatch"),
  82. and the MS-DOS version of COMPRESS that you are using to decompress the files
  83. is not "smart" enough to skip this header (none that I know of is).
  84. CUNBATCH.EXE can also be used to ADD the "c" header to files that YOU have
  85. created using COMPRESS, should you find it necessary to do so.  And you can
  86. optionally shell to COMPRESS from within CUNBATCH, in order to force COMPRESS
  87. to deal with batched newsgroup files one at a time (note, however, that this
  88. requires additional memory, so if you are multitasking in a tight memory
  89. situation you may need to run CUNBATCH first and then run COMPRESS
  90. separately, or try using the SHROOM program described below to invoke
  91. COMPRESS).  Type COMPRESS without any arguments to get a help screen.
  92. N.B.:  The -c switch allows you to shell to an external program (normally
  93. COMPRESS) only *AFTER* the "c" header is removed (or added), and it is only
  94. usable where the the name of the file to be acted upon is the last item in
  95. the called program's invocation line.  It is intended specifically for
  96. calling the COMPRESS program while unpacking compressed newsgroup files, and
  97. may not be too useful in other situations.  Also, you MUST include the FULL
  98. DRIVE and PATH specifications (if not in the "current" directory) and
  99. EXTENSION (e.g.  ".EXE") of the compression program called using the -c
  100. switch.
  101.  
  102. (Please note that you probably do NOT need either COMPRESS.EXE or
  103. CUNBATCH.EXE unless you are receiving newsgroups from a "real" UseNet site...
  104. most DoveMail users will NOT need to use either program!)
  105.  
  106. SHROOM2D.ZIP (may be a later version in the archive you receive, if I forget
  107. to update this file) is an archive of a shareware program that I did NOT
  108. write, but that you MAY find useful if DOVEPACK or CUNBATCH runs out of
  109. memory when shelling out to the file compressor.  SHROOM ("Shell Room
  110. Utility", a shareware program written and copyrighted by Davis Augustine) is
  111. supposed to cause the application program (DOVEPACK or CUNBATCH in this case)
  112. to be swapped to a disk file before the shelled program (the compression
  113. program) is executed.  You may also find it useful with other programs on
  114. your system that shell to file compressors or other programs.  Please read
  115. the documention carefully to decide which command line arguments you need to
  116. use, since they may vary depending on the DOS shell you use.  At a minimum
  117. you will probably need to use the -t * switch, and I would also be sure to
  118. use the -p switch so that the program doesn't hang waiting for keyboard input
  119. if your hard drive is full (unless, of course, you consider a full hard drive
  120. to be such a serious error that you WANT everything to come to a screeching
  121. halt!).  A typical SHROOM invocation line might look like this:
  122.      SHROOM -p -t * DOVEPACK [... command line arguments for DovePack ...]
  123. If you like to know exactly what the programs on your system are doing, you
  124. may also want to add the -v (verbose mode) switch.  If you don't have to use
  125. either DOVEPACK or CUNBATCH, then you may not need this program at all,
  126. although it could come in handy for use with other memory-hungry applications
  127. (such as your Fidonet mail packer, if it doesn't already have the ability to
  128. swap itself to a disk file while calling the compression program).  PLEASE
  129. NOTE: SHROOM is a copyrighted software work which is distributed as
  130. shareware, so if you use it, be sure to read the shareware license in the
  131. documentation file.  If you are one of the few required to register your copy
  132. of DoveMail, that registration does *NOT* relieve you of the responsibility
  133. of separately registering your copy of SHROOM, if you use SHROOM on your
  134. system.  SHROOM is provided only as a convenience for those who might
  135. otherwise have difficulty locating it, and is not an official part of the
  136. DoveMail package, and may be removed without notice from future releases of
  137. the DoveMail archive.
  138.  
  139. NEWSSCAN.EXE:  A program to scan messages TO an UNcompressed batched
  140. newsgroup packet FROM Fidonet *.msg files (or, optionally, to scan messages
  141. out to a mail queue for use by the KA9Q program).  If you are a "leaf node",
  142. you could possibly use this program alone (without necessarily running
  143. DoveMail) to scan outgoing newsgroup messages.  Please see the documentation
  144. file NEWSSCAN.DOC, the sample NEWSSCAN.CFG file, and the SAMPLE.SIG file
  145. included in this archive.
  146.  
  147. NEWSTOSS.EXE:  A program to toss messages FROM an UNcompressed batched
  148. newsgroup packet TO Fidonet *.msg files.  If you are a "leaf node", you could
  149. possibly use this program alone (without necessarily running DoveMail) to
  150. toss incoming newsgroup files.  No separate documentation is included for
  151. this program, but if you read the sample NEWSTOSS.CFG file you should be able
  152. to figure it out.  Please be aware that NewsToss will toss a received
  153. newsgroup message no matter how long it is... this has NOT caused any problem
  154. with Maximus (the BBS) or Ned (a message reader/editor), but possibly might
  155. if you are using other (poorly-written!) software.  NewsToss accepts one
  156. optional command line argument, the name of the configuration file (if not
  157. specified, NewsToss.Cfg is used).
  158.  
  159. The latter two programs (NewsScan and NewsToss) support the Fidonet *.msg
  160. format only.  They will NOT deal with a "flat file" message format.  However,
  161. you may be able to use some of the programs included in other packages (such
  162. as FredGate or UFgate) to convert the newsgroup packet to and from Fidonet
  163. format.  Also, these two programs do NOT have documentation files (yet), but
  164. you should be able to figure out how to use them from reading the
  165. liberally-commented sample config files.  Finally, if a message is received
  166. that was posted to multiple newsgroups, NewsToss will toss a copy of that
  167. message to every area that you carry.  If a user replies to that message in
  168. ANY area, NewsScan will post the REPLY to all areas to which the original was
  169. posted (the "Newsgroups:" line from the original is copied verbatim into the
  170. reply).  Therefore, YOU SHOULD INSTRUCT USERS TO REPLY TO A MESSAGE ONLY
  171. *ONCE*, even if they see it posted in multiple areas on your BBS.  Posting
  172. the SAME reply to the SAME message in multiple areas on your board WILL cause
  173. duplicate messages to be sent out.
  174.  
  175. The advantage of using DoveMail to send messages between nodes is that none
  176. of the UseNet message header information is lost in transmission between
  177. nodes, and if a message is posted to multiple newsgroups, it is only
  178. transmitted once (whereas, if it is converted to echomail format, it may be
  179. transmitted multiple times).  Also, long messages are not truncated or
  180. changed in transmission between nodes, and finally, there is no chance that a
  181. message will be improperly discarded as a duplicate (this is a particular
  182. problem in Newsgroups converted to echomail, because many echomail processors
  183. use a checksum of parts of Fidonet message headers to determine if messages
  184. are duplicates, and since all newsgroup messages are assumed to be addressed
  185. to "All" and since some gateway software uses the date and time that the
  186. message was converted to echomail rather than the original date and time from
  187. the message, there tends to be a much higher incidence of converted newsgroup
  188. messages falsely discarded as duplicates by echomail processors).
  189.  
  190. Please bear in mind that this program is NOT fully tested in all situations,
  191. and if you attempt to use it and find that it does not work properly, I would
  192. very much appreciate a detailed description of the problem.  If it bombs
  193. while processing an incoming newsgroup file, I would definitely appreciate
  194. receiving a copy of the newsgroup file in question, your DoveMail.Cfg file,
  195. and anything else you feel may be helpful in diagnosing the problem.
  196.  
  197. The NewsToss and NewsScan programs will exit with an errorlevel if a fatal
  198. error occurs during execution, but I have not documented these yet, and they
  199. may change.  With NewsScan, any errorlevel greater than zero generally
  200. indicates there was a problem in reading or writing a file (possibly a full
  201. disk?).  With NewsToss, any errorlevel greater than one indicates some type
  202. of fatal error, but an errorlevel of one simply indicates that no batched
  203. newsgroup files were found.  If you have logging enabled, you'll have a
  204. better idea of what happened if a problem occurred.
  205.  
  206. Once again, this is BETA-TEST software.  If you use it, YOU are a
  207. Beta-tester!  So please don't complain if something doesn't work right as I
  208. never represented the program as being completely bug-free!  You may give
  209. this program to others, but if you do please give them the original
  210. distribution archive containing all files, and please make it clear to them
  211. that they, too, will be Beta-testers!
  212.  
  213. PLEASE NOTE...
  214.  
  215. Despite the inclusion of NewsToss and NewsScan in this archive, conversion to
  216. Fidonet format is not really the function of DoveMail.  Any programs that I
  217. write to convert messages between RFC-822 / RFC-1036 and FTS-0001 formats
  218. will always be separate programs, not part of DoveMail.
  219.  
  220. The way that I envision DoveMail being used in this situation is as follows.
  221. Let's assume you receive newsgroup feeds, and pass them onto others.
  222. Obviously, DoveMail will do that.  It may well be that some of those
  223. newsgroups are ones that you don't personally care about, but that you
  224. receive for the sole purpose of passing on to others (this would be similar
  225. to a "passthru" echomail conference).
  226.  
  227. So, in order to get a feed for your own system, what you need to do is to get
  228. DoveMail to "export" (pass on) a feed for your own use.  You would do this by
  229. setting up a feed to a "dummy" node, and by using a fully pathed filename
  230. rather than a fidonet address in the "Newsnodes" section of the DoveMail.Cfg
  231. file.  The file you specify would have your messages written to it, still in
  232. RFC-822 / RFC-1036 format (it would be a regular newsgroup packet, in other
  233. words).  If you have passthru areas, then this packet would consist of the
  234. messages found in any incoming packets you process, MINUS any messages
  235. destined solely for newsgroups that you don't carry (the "passthrus").  Now,
  236. the only difference between this packet that you "export" for your own use
  237. and the ones that you make for other systems is that the packet you make for
  238. your use is not sent to another system!  Instead, it stays on your board and
  239. it's up to you to decide what to do with it.  At this point DoveMail washes
  240. its hands of the matter!
  241.  
  242. What is supposed to happen at this point is one of two things.  The most
  243. ideal (but least likely given the present state of existing software) thing
  244. that should happen is that your BBS program, message editor, or whatever
  245. would use this packet directly.  You'd just keep appending new messages to
  246. it, and occasionally run a utility that would prune out old and cancelled
  247. messages (something like RENUM in Fidonet).  You'd have one file for all your
  248. newsgroup messages.  If you (or a user on your BBS) entered a message in a
  249. newsgroup, it would be written to a separate RFC-822 / RFC-1036 (batched
  250. newsgroup) format file, which would be processed by DoveMail just like any
  251. other incoming message, and only AFTER DoveMail processed the message would
  252. it be added to your file of "readable" messages.  In other words, the
  253. messages would NEVER be converted to FTS-0001 format.
  254.  
  255. But since existing Fidonet-technology BBS's don't work that way, the messages
  256. will probably have to be converted to Fidonet format.  But here we run into a
  257. problem:  What, exactly, is Fidonet format?  *.msg type files?  A *.PKT file?
  258. A Hudson-style message base?  You may wish to have the newsgroup messages
  259. converted to any of these formats.
  260.  
  261. My preference is to convert to the *.msg format directly, and skip going
  262. through an echomail processor which can't handle long messages, and which
  263. might decide that a message is a duplicate of a previously-seen message and
  264. discard it even though the message really ISN'T a dupe.  But that won't work
  265. very well for those who don't use the *.msg format.  So as you can see, there
  266. are a number of things that COULD be done to further process the RFC-822 /
  267. RFC-1036 batched newsgroup packet, and since every sysop may wish to do
  268. somthing different, any software that I would write for the purpose will not
  269. please everyone!
  270.  
  271. So, I release DoveMail with the caveat that if you need to have messages
  272. converted to a Fidonet-Technology FTS-0001 format, and if for some reason the
  273. NEWSTOSS and NEWSSCAN programs in this archive don't meet your needs, then
  274. you'll still need to use UFGate or FredGate or some similar program to do the
  275. conversion.
  276.  
  277. I do fear that some sysops may be a bit confused by the above explanation, so
  278. let me try and clarify it by stating the differences between DoveMail and
  279. ConfMail.
  280.  
  281. When ConfMail imports an echomail packet, it tosses each message to a *.msg
  282. format file in the appropriate message directories on your system.  If you
  283. are feeding echoes to other nodes, you then run ConfMail Export to look in
  284. your message areas, find the messages that have not yet been sent, and pack
  285. them for other nodes.  This system works well for echomail because you can't
  286. post a single message to multiple echomail areas (without creating a separate
  287. copy of the message in each area).
  288.  
  289. However, a single newsgroup message CAN be posted to multiple newsgroups, so
  290. we can't use exactly the same system we use for echomail.  So, DoveMail does
  291. not toss messages to a *.msg format at all.  Instead, when it imports a
  292. batched newsgroup packet, it directly packs those messages to the batched
  293. newsgroup packets destined for other nodes.  In other words, if the only
  294. piece of software you run is DoveMail, you'll be able to provide newsgroup
  295. feeds to other nodes, but the messages won't appear on your system!
  296.  
  297. The way around this dilemma is to have dovemail make a packet for your node.
  298. To do this, you set up a "dummy" node that is really YOU.  For example, under
  299. the "Begin_Newsnodes" section of the config file, you might put something
  300. like:
  301.  
  302. mynode     +C:\bbs\innews.grp
  303.  
  304. Then, under "Begin_Newsgroups", you'd use "mynode" under any newsgroup you
  305. want to carry on your system, like this:
  306.  
  307. Begin_Newsgroups
  308. some.news.group
  309.    mynode
  310. .....
  311.  
  312. This would put any newsgroups you want to receive into C:\bbs\innews.grp.  If
  313. you then need to toss the newsgroups to *.msg files, you could use NewsToss,
  314. and you'd put the following line it its config file (NewsToss.Cfg):
  315.  
  316. Infiles C:\bbs\innews.grp
  317.  
  318. This would toss the packet that DoveMail created for YOUR system.  All the
  319. messages tossed by NewsToss will have the SENT flag set, so they will not be
  320. exported back off your system.
  321.  
  322. Now, when a local user enters a message in a Newsgroup area, you export it by
  323. running NewsScan.  If you want DoveMail to process it, just make sure that
  324. the file created by NewsScan is placed in a file area and has a filespec that
  325. DoveMail expects to find (as specified in the InFiles statement in
  326. DoveMail.Cfg, and the OutFile statement in NewsScan.Cfg).  When NewsScan
  327. exports a message, it sets the "Sent" bit in the message header so that the
  328. message will not be sent twice.  It also makes use of the "High Water Mark"
  329. in 1.msg, similar to ConfMail and other echomail processors, to speed up
  330. processing.
  331.  
  332. If this still isn't clear, please feel free to send me netmail.  I understand
  333. that this all operates a little differently than what you may be used to, but
  334. hopefully it's not too different from the way other Fidonet programs operate.
  335. I would welcome any suggestions that anyone may have that would make this
  336. documentation clearer.
  337.  
  338. Your comments and suggestions are appreciated.  Flames are NOT!
  339.  
  340. Jack Decker
  341. Fidonet address: (no longer valid)
  342. Internet: ao944@yfn.ysu.edu
  343.  
  344. Please note that other mail addresses given in former editions of this
  345. document are no longer valid.
  346.