home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / email / dove0793.zip / NEWSTOSS.CFG < prev    next >
Text File  |  1993-04-08  |  22KB  |  487 lines

  1. ; Sample NewsToss.Cfg file
  2. ;
  3. ; NOTE: If you receive batched newsgroup files from a newer version of KA9Q's
  4. ;       NET.EXE (or if for some reason you receive batched newsgroup files
  5. ;       containing carriage returns) see the KillCR keyword below.
  6. ; NOTE: NEW - *LIMITED* support for tossing incoming uncompressed MAIL
  7. ;       messages to your netmail area.  See below.  If you do receive
  8. ;       mail, be sure to adjust the HeaderLines and MaxFiles values to
  9. ;       higher numbers if necessary.
  10. ; NOTE: The MaxGroups keyword is no longer needed nor supported in this file.
  11. ; NOTE: Leaving the UseNet "Path:" line in tossed messages is no longer the
  12. ;       default.  See comments on the "KeepPath" line below.
  13. ; NOTE: The TimeOffset keyword is NEW in NewsToss.Cfg.  Be sure it is set
  14. ;       properly or your messages may be dated improperly.
  15. ;
  16. ; Although this file uses many of the same tokens as DoveMail, it is NOT the
  17. ; same.  You CANNOT use a DoveMail.Cfg file with NewsToss.
  18. ;
  19. ; The first lines deal with your log file.  If you use a Binkley/Opus/Maximus
  20. ; format log file, and would like NewsToss to indicate when it runs and also
  21. ; place error information in the log file, then place the full path and
  22. ; filespec of your log file here.  If you comment this line out, NewsToss won't
  23. ; try to use a log file.
  24. ;
  25. LogFile C:\Bbs\Bbs.Log
  26. ;
  27. ;
  28. ;
  29. ;
  30. ; The next line is only for the use of those in non-English-speaking areas
  31. ; where you would like the three character abbreviations for the months of the
  32. ; year to be different than the English ones.  Note that this affects many
  33. ; different aspects of how NewsToss operates (including how it deciphers the
  34. ; date field of incoming newsgroup messages) so you probably shouldn't change
  35. ; it unless your newsgroup feed uses different abbreviations.  PLEASE NOTE: The
  36. ; string must be EXACTLY 36 characters long and must contain no spaces, or it
  37. ; will be rejected!  I really advise against using this feature but you can
  38. ; change the string if you must...
  39. ;
  40. ; MonthString JanFebMarAprMayJunJulAugSepOctNovDec
  41. ;
  42. ;
  43. ;
  44. ;
  45. ; The following line, if uncommented, will write additional information to the
  46. ; log file as each incoming packet is tossed, including the total number of
  47. ; messages received in each newsgroup.  Please note that the totals given are
  48. ; for each individual *.PKU (or other incoming newsgroup) packet received, so
  49. ; you may want to keep this commented out if your log gets too large.
  50. ;
  51. Summary
  52. ;
  53. ;
  54. ;
  55. ;
  56. ; These next lines allow you to modify some internal defaults.  Don't modify
  57. ; them unless you need to because you are running out of memory, and don't set
  58. ; them too low or too high because NewsToss will probably crash and burn if
  59. ; you do!  If you have problems with NewsToss aborting prematurely, check
  60. ; these lines first.
  61. ;
  62. ;
  63. ;
  64. ;
  65. ; This line specifies the maximum number of header lines you ever expect to
  66. ; see in a message.  The default is 30, which should be adequate in all but
  67. ; very unusual situations, but you can set it at anything from 20 to 32766,
  68. ; but don't set it much higher than necessary or you'll run out of memory.
  69. ; If you receive MAIL messages with a large number of header lines
  70. ; (especially "Received:" lines), you may need to tweak this upward a bit.
  71. ;
  72. HeaderLines 30
  73. ;
  74. ;
  75. ;
  76. ;
  77. ; This line specifies the maximum number of incoming batched newsgroup and/or
  78. ; unbatched mail files that you ever expect to toss at one time (that is, in
  79. ; the same run of NewsToss).  The default is 100 which is probably FAR more
  80. ; than you'll ever encounter unless you get LOTS of mail, but this should be
  81. ; set high so as to have an adequate safety margin.  Any value from 1 to 32766
  82. ; is valid here, though I wouldn't set it any lower than about 20 under any
  83. ; circumstances if I were you!  And if you set it much over 400 or 500 you may
  84. ; run out of memory.
  85. ;
  86. MaxFiles 100
  87. ;
  88. ;
  89. ;
  90. ;
  91. ; This line specifies the buffer size for input files.  The minimum size is
  92. ; 512 bytes, and the maximum is 32767, but for best results you should always
  93. ; use a power of 2 (e.g. 1024, 2048, 4096, etc.).  If you set this value too
  94. ; high you may run out of memory, whereas if you set it too low, you may
  95. ; increase disk thrashing.  If you comment this line out entirely, the default
  96. ; size of 2048 bytes will be used.   I strongly recommend setting this higher
  97. ; if possible (the maximum is 32767, but remember that a power of 2 is most
  98. ; efficient).
  99. ;
  100. InBuffer 8192
  101. ;
  102. ;
  103. ;
  104. ;
  105. ; Normally, when a batched newsgroup feed is received the file contains only
  106. ; linefeeds, and no carriage returns.  However, certain MS-DOS software
  107. ; (notably certain more recent versions of KA9Q's NET.EXE program) can create
  108. ; batched newsgroup files that contain carriage returns followed by
  109. ; linefeeds.  If you receive batched newsgroup files from any source that
  110. ; contain carriage returns, uncomment the following line.  If you don't need
  111. ; it, NewsToss will operate slightly faster if you leave it commented out.
  112. ;
  113. ;KillCR
  114. ;
  115. ;
  116. ;
  117. ;
  118. ; The following line, if uncommented, inhibits the display of the Newsgroups
  119. ; line, message length, names of *.msg files that are being created, and some
  120. ; other lines that would normally be displayed during operation of the program.
  121. ;
  122. ;Quiet
  123. ;
  124. ;
  125. ;
  126. ;
  127. ; Now, some information about your system and your newsgroups and feeds:
  128. ;
  129. ;
  130. ; This is your Fidonet format address, in Zone:Net/Node.Point format (NO
  131. ; DOMAIN!).  In most installations this isn't even really necessary; it's the
  132. ; address placed in the Fidonet binary message header (as both the originating
  133. ; and destination addresses) and if it's not given, 0:0/0.0 will be used, which
  134. ; generally isn't a problem.  However, if you routinely forward messages from
  135. ; newsgroups to echomail areas, you might find that the header address is used
  136. ; in the creation of the MSGID kludge line of the echomail message (GoldED in
  137. ; particular does this, if you change the message after copying it to an
  138. ; echomail area).  To avoid that, or other unforseen problems, just put your
  139. ; system's primary Fidonet address here.  You may omit the point portion of
  140. ; the address if you're not a point.  NOTE:  Should you have need to change
  141. ; this address, don't forget that you may also need to change your address in
  142. ; the "Kludge" control file statement (further down in this file).  Also, if
  143. ; you receive unbatched MAIL messages, this address is placed in both the "from
  144. ; address" and "to address" fields of the Fidonet netmail message header (I
  145. ; told you that mail support was limited!).
  146. ;
  147. Address 1:1234/5678.0
  148. ;
  149. ;
  150. ;
  151. ;
  152. ;
  153. ; This is your UUCP format address, as is placed in messages exported from
  154. ; your system.  In NewsToss this is used for dupe checking purposes only.
  155. ; If this address is found in the Path line, the message will be discarded as
  156. ; a duplicate.  If you don't want this form of dupe checking enabled, leave
  157. ; this line commented out.  Remember that this address must EXACTLY match your
  158. ; address, and should NOT contain exclamation marks (!) since these are used
  159. ; as address delimiters.  If you don't have a registed UUCP sitename but are
  160. ; in Fidonet, you'll probably use the [p#.]f#.n#.z#.fidonet.org format, like
  161. ; this:
  162. ;
  163. Alias f8.n154.z1.fidonet.org
  164. ;
  165. ; If you have a registerd name, you might use it instead, like this:
  166. ;
  167. ;Alias stjhmc.fidonet.org
  168. ;
  169. ;
  170. ;
  171. ;
  172. ;
  173. ; Normally, if your Alias appears in the first position of the Path line in
  174. ; a message, NewsToss will discard the message as a duplicate.  However, if
  175. ; you are using DoveMail to create the batched newsgroup packets that NewsToss
  176. ; processes, and are specifying the same Alias address in both DoveMail's and
  177. ; NewsToss' config file (as you normally would), then obviously you don't
  178. ; want to discard messages processed by DoveMail as dupes.  To avoid that,
  179. ; leave the following line uncommented.  NewsToss will still declare a
  180. ; message as a duplicate if it finds your alias somewhere OTHER THAN the
  181. ; first position in the Path line.
  182. ;
  183. IgnoreFirst
  184. ;
  185. ;
  186. ;
  187. ;
  188. ;
  189. ; The following is the filename mask (including path) of filenames that MIGHT
  190. ; appear on your system containing newsgroups.  Note that if the file does not
  191. ; start with the characters "#! rnews", it will not be procssed in any case
  192. ; (unless it matches the "MailPattern" string, in which case it will be
  193. ; processed as incoming mail).   Note that if you are running DoveMail, this
  194. ; is the place to put the filespec for the batched newsgroup files that
  195. ; DoveMail tosses for YOUR system.  If no one pattern matches all the incoming
  196. ; files you want to process, then in your batch file move all your incoming
  197. ; files to a single holding directory, specify that directory below and use
  198. ; *.* for the filespec.  For example, I use something like this in my batch
  199. ; file:
  200. ;      dmove C:\BBS\*.PKU C:\BBS\MAILIN
  201. ;      dmove C:\FILE\NET\nbytes??.d C:\BBS\MAILIN
  202. ;      newstoss
  203. ; [DMOVE is one of a number of "move" type utilities for the PC available
  204. ; from BBS's around the world.]
  205. ; And, in the statement below, I use C:\BBS\MAILIN\*.* as the filename mask.
  206. ; For the more common case where you are just getting news, you might get by
  207. ; with something like this:
  208. ;
  209. Infiles C:\Inbound\*.PKU
  210. ;
  211. ;
  212. ;
  213. ;
  214. ;
  215. ; The following is a path to your "Bad Messages" area.  If you define this
  216. ; area, NewsToss will toss messages here that don't get tossed to other areas
  217. ; because they are dupes, or because none of the areas listed in the
  218. ; "Newsgroups" line correspond to areas you carry.  If you just want to send
  219. ; such messages to the bit bucket, leave this line commented out.
  220. ;
  221. BadMsg D:\Msg\Bad_Msgs
  222. ;
  223. ;
  224. ;
  225. ;
  226. ;
  227. ; When NewsToss imports a message, it takes the date and time from the
  228. ; "Date:" line and converts it to GMT (also known as UTC).  This would be the
  229. ; date and time placed in the Fidonet message header.  However, unless you
  230. ; live on the Greenwich Meridian, you'll most likely want to use the
  231. ; TimeOffset keyword to adjust the time to local time.  If you use TimeOffset 
  232. ; in NewsScan.Cfg, you should also use it here and the number of minutes
  233. ; should be the same in both files.  The number following the TimeOffset
  234. ; keyword should be the difference in *MINUTES* between your Time Zone and
  235. ; Greenwich Mean Time.  The reason for using minutes rather that hours is so
  236. ; that users living in places like Newfoundland (which have times that are not
  237. ; offset from GMT by an even hour amount) can be accommodated.  TimeOffset
  238. ; will accept zero and negative numbers for those living on or east of the
  239. ; Greenwich Meridian.  In North America, the following values for TimeOffset
  240. ; will be typical:
  241. ;
  242. ;     Time Zone    During Standard Time Use:    During Daylight Time Use:
  243. ;     ---------    ------------------------     ------------------------
  244. ;     Newfoundland            210                          150
  245. ;     Atlantic                240                          180
  246. ;     Eastern                 300                          240
  247. ;     Central                 360                          300
  248. ;     Mountain                420                          360
  249. ;     Pacific                 480                          420
  250. ;     Alaska                  540                          480
  251. ;     Hawaii                  600                          540
  252. ;
  253. ; If you leave TimeOffset commented out, the default used will be zero,
  254. ; which is probably NOT what you want unless you live on the Greenwich
  255. ; Meridian!  Exception: If you have set the TZ environment variable in your
  256. ; batch file (to something like EDT04... note that the numeric part MUST
  257. ; start at the fourth character position!) and you leave TimeOffset commented
  258. ; out, NewsScan will try to calculate the offset from the environment
  259. ; variable.  If that doesn't work properly, uncomment TimeOffset here.  Note
  260. ; that the TimeOffset keyword is also used in NewsToss.Cfg and usually should
  261. ; be set to the same value in both files.
  262. ;
  263. TimeOffset 300
  264. ;
  265. ;
  266. ;
  267. ;
  268. ; When NewsToss is tossing a message it will take the "Subject: " line and put
  269. ; the contents of that line (after the "Subject: " tag) into the portion of
  270. ; the Fidonet message header reserved for the subject.  If the subject is too
  271. ; long to fit in this area, it will truncate it to 71 characters, and then put
  272. ; the complete "Subject: " line in the text of the message; otherwise the
  273. ; "Subject: " line will be omitted from UseNet message header lines written to
  274. ; the message TEXT.  However, you can force NewsToss to always leave the
  275. ; Subject line in the TEXT portion of the message by uncommenting the
  276. ; following line.  If you do this, you should also uncomment the corresponding
  277. ; line in NewsScan.Cfg, if you use NewsScan.  There's normally no reason to
  278. ; uncomment this line, except in certain unusual situations (such as when you
  279. ; are archiving some of your received UseNet messages to a text file, and you
  280. ; are throwing away the Fidonet message header).
  281. ;
  282. ;KeepSubject
  283. ;
  284. ;
  285. ;
  286. ;
  287. ; When NewsToss is tossing a message it will discard the UseNet "Path: " line
  288. ; unless the following line is uncommented.  Should you be doing something as
  289. ; foolish as trying to convert newsgroups to echomail, leave this commented
  290. ; out or your echomail processor may complain that there is a PATH line but no
  291. ; SEEN-BY lines!
  292. ;
  293. ;KeepPath
  294. ;
  295. ;
  296. ;
  297. ;
  298. ; When NewsToss is tossing a message (particularly a mail message) it will
  299. ; discard any "Received: " lines it sees unless the following line is
  300. ; uncommented.  Generally, the "Received:" lines are not too useful, but
  301. ; they sometimes are helpful in tracking down routing problems.
  302. ;
  303. ;KeepReceived
  304. ;
  305. ;
  306. ;
  307. ;
  308. ; Most users won't need this, but you can force NewsToss to set the LOCAL bit
  309. ; in news messages it tosses (in addition to the SENT bit, which is always
  310. ; set).  Please note that this affects news messages only (use MailAttrib if
  311. ; you need to set specific bits in tossed Mail messages). If you are trying to
  312. ; convert newsgroups to echomail (or if you sometimes manually hurl messages
  313. ; from newsgroups to echomail areas), it may be necessary to uncomment this
  314. ; line, depending on the echomail processor you use.  Leave it commented out
  315. ; if you don't know why you'd need it.
  316. ;
  317. ;SetLocal
  318. ;
  319. ;
  320. ;
  321. ;
  322. ; The following line is for advanced users only, and if you don't know how to
  323. ; use it, I suggest you just use the one sample line shown below but CAREFULLY
  324. ; substitute your Fidonet address in full zone:net/node.point@domain format as
  325. ; shown below.  This statement is for inserting "IFNA Kludge Lines" at the
  326. ; start of each message written out by NewsToss (an "IFNA Kludge Line" is a
  327. ; line that is "hidden" behind a "Control-A" character, making it invisible to
  328. ; most readers of the message).  If you are not distributing newsgroups
  329. ; ALREADY CONVERTED TO ECHOMAIL beyond your system (something I don't
  330. ; recommend anyway), then just use the one line shown (it aids in duplicate
  331. ; message prevention), but insert your own address.  However, should you have
  332. ; the need to do so, you can insert up to ten such lines (although if you have
  333. ; a need for more than two or three, I have to wonder about you!).  This
  334. ; feature is NOT for inserting "vanity lines", political statements, or other
  335. ; extraneous text. It is ONLY for lines that are interpreted by
  336. ; Fidonet-technology software.  Also, it is NOT inserted in mail messages
  337. ; tossed to your netmail area.
  338. ;
  339. Kludge PTH @Usenet 1:1234/5678.0@Fidonet
  340. ;
  341. ; Note: The spelling "PTH" is CORRECT!  See Fidonet standard FSC-0044
  342. ; *revision 2* for technical details regarding the use and construction of the
  343. ; above line.  Note also that the ".0" could (and probably should) be omitted
  344. ; if you are not a point, but otherwise the format of this line must be
  345. ; exactly as shown.
  346. ;
  347. ;
  348. ;
  349. ;
  350. ; Now some keywords that provide LIMITED support for incoming netmail.  I may
  351. ; expand this a bit in the future, but keep in mind that NewsSCAN has no
  352. ; corresponding ability to send out messages FROM your netmail area.  This
  353. ; support is designed primarily to meet the needs of leaf nodes, that is,
  354. ; nodes that do NOT pass mail on to any other node.
  355. ;
  356. ; This is what will be placed in the "from" field of the Fidonet message
  357. ; header of incoming MAIL messages:
  358. ;
  359. MailFrom UUCP
  360. ;
  361. ;
  362. ;
  363. ;
  364. ; This is the Fidonet type address that will be placed in the "from" address
  365. ; fields of the Fidonet message header of incoming MAIL messages.  If you don't
  366. ; use this, the address from the "Address" keyword will be used.  Note that if
  367. ; you use a non-zero point address, a FMPT kludge line will be placed in the
  368. ; body of the created message.
  369. ;
  370. MailFromAddress 1:1234/5678.0
  371. ;
  372. ;
  373. ;
  374. ;
  375. ; This is the Fidonet type address that will be placed in the "to" address
  376. ; fields of the Fidonet message header of incoming MAIL messages.  If you don't
  377. ; use this, the address from the "Address" keyword will be used.  Note that if
  378. ; you use a non-zero point address, a TOPT kludge line will be placed in the
  379. ; body of the created message.
  380. ;
  381. MailToAddress 1:1234/5678.0
  382. ;
  383. ; NOTE: An INTL kludge line will be created in your netmail messages if the
  384. ; zones given in the above two statements are both non-zero and are not equal.
  385. ; If both zones are the same, or if either is zero (or not given) then the INTL
  386. ; kludge line will NOT be created.
  387. ;
  388. ;
  389. ;
  390. ;
  391. ; This is the attribute word that will be used in each MAIL message.  By
  392. ; placing various values here, you can mark messages as private, sent, local,
  393. ; etc.  This is for advanced users only, and I suggest that you NOT use this
  394. ; keyword unless you are familiar with the Fidonet message header attribute
  395. ; word.  However, if you need to set the "local" bit in all messages for some
  396. ; reason, you can do it by using the following:
  397. ;
  398. ; MailAttrib 256
  399. ;
  400. ;
  401. ;
  402. ;
  403. ; This is the path to your netmail area:
  404. ;
  405. MailPath C:\MSG\NETMAIL
  406. ;
  407. ;
  408. ;
  409. ;
  410. ; This is the pattern to match at the start of each mail message.  If a file
  411. ; does not start with this pattern or "#! rnews", it will be ignored by
  412. ; NewsToss:
  413. ;
  414. MailPattern From
  415. ;
  416. ;
  417. ;
  418. ;
  419. ; These are the valid Internet-format addresses of mail recipients at your
  420. ; site.  If an address in a "To:" line matches exactly an address shown below,
  421. ; the corresponding user name will be placed in the Fidonet message header's
  422. ; "to" field.  If no match is found, any lines beginning with "Cc:" or
  423. ; "Apparently-To:" are also checked.  If no match is found on any of these,
  424. ; the phrase "<unknown at this site>" will be placed in the Fidonet message
  425. ; header.  Note that you can use this to map any mailing lists you receive to
  426. ; unique user names, so that you can easily find messages from a mailing list.
  427. ; First, a word about how TO: line addresses are parsed:
  428. ;      To: user@site     or
  429. ;      To: Joe User of Some Site <user@site>     or
  430. ;      To: user@site (Joe User)     or
  431. ;      To: userx@sitey,user@site,userz@siteq
  432. ; Would all be parsed as user@site, assuming that user@site were listed below.
  433. ; In the final example, only the FIRST valid address would be used... that is,
  434. ; if both userx@sitey and user@site were in your list, the message would be
  435. ; addressed to the name associated with userx@sitey.
  436. ;
  437. Begin_NameAliases
  438.   jack                          Jack Decker
  439.   jack@myamiga                  Jack Decker
  440.   jack@myamiga.mixcom.com       Jack Decker
  441.   @f8.n154.z1.fidonet.org       C
  442.   list-manager@somesite.edu     Mailing List
  443.   NAVIGATE@ubvm.cc.buffalo.edu  Navigate
  444. End
  445. ;
  446. ; In the example above, the last two entries are mailing lists.  The entry
  447. ; just preceeding those is a special type of entry, which says to take
  448. ; whatever name you find in front of the "@" and use it as the user name.
  449. ; This is indicated by the "@" as the first non-space character on the line.
  450. ; Instead of the user name, use the letter "C" (or any word starting with a
  451. ; "C") if you want NewsToss to attempt to capitalize the name, or any
  452. ; character other than a "C" if you want NewsToss to leave the capitalization
  453. ; alone.  In the above example, if I received a message addressed to
  454. ; john.doe@f8.n154.z1.fidonet.org, the user name "John Doe" would be placed
  455. ; in the "to" (or "john doe" if capitalization were not used).  Please note
  456. ; that the capitalization routine is not perfect and may not operate exactly
  457. ; as expected on certain names (e.g. names starting with "Mac").  Also please
  458. ; note that this does NOT attempt to extract a Fidonet address from the
  459. ; entry... in other words, if my Fidonet address were not 1:154/8, the
  460. ; message would still be addressed to "John Doe" on my system.  I may add
  461. ; some ability to gate messages for other Fidonet addresses if there are any
  462. ; requests for this capability.
  463. ;
  464. ;
  465. ;
  466. ;
  467. ; That ends the LIMITED mail support section... now back to newsgroups....
  468. ;
  469. ; These are the actual newsgroup names, followed (on the same line) by one or
  470. ; more space characters and then the complete path to the message area.  Please
  471. ; note that this section is NOT in the same format as is used by DoveMail.
  472. ; Also, each newsgroup must be EXPLICITLY specified, the use of the ".all"
  473. ; wildcard is not allowed.  Note that there are a couple of length limitations
  474. ; that must be observed:  The maximum permissible newsgroup name length is 64
  475. ; characters, and the maximum path length is 32 characters (if you have an
  476. ; entry that's too long, it will be truncated to the maximum length).  If this
  477. ; causes anyone a real problem, please let me know.  Finally, don't put blank
  478. ; or comment lines between "Begin_Newsgroups" and "End".
  479. ;
  480. Begin_Newsgroups
  481.   comp.dcom.telecom      D:\MSG\TELECOM
  482.   comp.dcom.modems       D:\MSG\MODEMS
  483.   private.newsgrp        D:\MSG\PRIVATE
  484. End
  485. ;
  486.