home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / NWSFAQ23.ZIP / NWSFAQ23.TXT < prev   
Text File  |  1998-03-25  |  21KB  |  488 lines

  1. Eileen Stone #2 @172 [AutoSend]
  2. Tue Mar 24 00:22:10 1998
  3. "FILEnet Newsgroups for Dummies FAQ"
  4. FAQ version 0.23
  5. Written by Eileen Stone of the MultiVersal Dreams BBS, 2@172.FILEnet
  6. Revised March 12, 1998
  7.  
  8.  
  9. To auto-request this FAQ, Mailto: FAQ-Vendor@172.FILEnet.
  10. The mail's subject line must be faq4dummies or newsgroupfaq.
  11.  
  12.  
  13. TABLE OF CONTENTS:
  14. ===========================================================================
  15. I.    Files needed to run the Project.
  16. II.   Altering the network files to connect you to the newsgroup node.
  17.     1.  Create Group 99 in your BBSLIST.0 file.
  18.     2.  Create/Alter BBSLIST.99 file.
  19.     3.  Create/Alter CONNECT.99 file.
  20.     4.  CALLOUT.NET entry format.
  21.     5.  Force Analysis of your FILEnet Network connection.
  22. III.  Configuring the PPP Project files for your system's set up.
  23.     1.  [NEWS] subsection must be uncommented.
  24.         "SAMPLE NEWS SECTION FROM NET.INI"
  25.     2.  NEWSHOST line must also be uncommented and filled out.
  26.     3.  Authentification Routine instructions.
  27.     4.  Set up your killfile in FILENET\NOSPAM.TXT.
  28.     5.  TIMEHOST setup.
  29. IV.   Setting up and using the NEWS.RC file.
  30.     1.  Creating NEWS.RC file.
  31.     2.  How to get the current list of newsgroups in a file named NEWSRC.
  32.     3.  Put newsgroups you want in NEWS.RC in the following format:
  33.         "THE NEWS.RC FORMAT DIAGRAM."
  34.     4.  Subscribe to newsgroup via //Boardedit, with usage advise.
  35.     5.  Add @32767 to your N*.NET files for the newsgroups you want.
  36.     6.  Force a call to @32767 to download the NEWSRC file and newsgroups.
  37.     7.  How the Auto-update works, and under what conditions.
  38. V.    Binary newsgroups.
  39.     1.  How to spool a newsgroup instead of making it a sub.
  40.     2.  New Binary newsgroup commands for catching up.
  41.     3.  Keep an eye out for Papa Bear's PBNEWS Utility for Binaries.
  42. VI.   Removing a newsgroup.
  43.     1.  Remove the sub from //boardedit if you recieved it that way.
  44.     2.  Remove the newsgroup line from NEWS.RC.
  45. VII.  Mod to allow the "/" in callout net to parse as hours, not days.
  46.     1.  Explanation of mod, and mod code.
  47.     2.  Proper use of the mod.
  48. ==========================================================================
  49.  
  50.  
  51. I.   Firstly, are you set up with the latest files, version 1.4 or better?
  52. A good place to look is at http://www.owt.com/users/quixotic/ppp-wwiv.
  53.  
  54. The four files you need are: 
  55.  
  56. pppp4j14.zip, -- The newest basic file.
  57. ppp15b26.zip, -- The latest upgrade.
  58. klospppw.zip, -- Use this if you run a multitasker.  You can use freeware
  59.                  version 1.42, or register for $10 for the newest version.
  60. exp097.zip,   -- The module for exporting to mail or newsgroups,
  61.                  or the EXP module distributed with the project.
  62.  
  63. It is also recommended that you get Quixotic Quest's FAQ, and the latest
  64. version of this FAQ.  Quixotic's FAQ goes into much more detail in sections
  65. I-II than this one does.  This FAQ only covers those subjects as they 
  66. relate to problems a reader might have with his newsgroup connection.
  67.  
  68.  
  69. II.  Second, make sure you are connected to the newsgroup node:
  70. Altering the FILEnet Network files in the drive:\bbs\net\FILE* dir.
  71.  
  72. (1)
  73. Check to see if there is a group 99 in the bottom of the BBSLIST.0 file.
  74. If there is not, add it to the file, in the same manner as the others
  75. are listed.
  76.  
  77. (2)
  78. Creat a BBSLIST.99 file, if you need one, and check to see if there is 
  79. a node @32767, in the BBSLIST.99 file, like this:
  80. @32767   *999-PPP-NEWS #00300   !$   [-1]   "Internet Newsgroups and Mail"
  81.  
  82. (3)
  83. Your CONNECT.99 file, which you may have to create, should look like this:
  84.  
  85. @your node 32767
  86. @32767 your node
  87.  
  88. (4)
  89. In your CALLOUT.NET; besides your other connects (and after them), you 
  90. should have a line that looks like this:
  91.  
  92. @32767 & 
  93.  
  94. NOTE: It is VERY important that you don't have the semi-colon ( ; ) used 
  95. for compression on this line.  You cannot connect to the newsgroups if
  96. you have this character included.
  97.  
  98. (5)
  99. Force a network analysis using the command Network3 .x Y from the DOS
  100. prompt in the main BBS directory.  Where x is one less than the network 
  101. number for FILEnet as shown in INIT.  Check the feedback from FILEnet.
  102. If all is OK, you should have one system routing through @32767.  If you
  103. have zero, make sure you edited the above files properly.  If you have 
  104. more than one, then make sure that @32767 is not listed in any of the
  105. other BBSLIST.x or CONNECT.x files.  (Node @32767 is a fictional node, used
  106. to trick the software to download newsgroups and Internet mail.  If more 
  107. than one system routes through #32767, you will lose all network traffic
  108. attempting to use that path.) 
  109.  
  110.  
  111. III.  Altering the PPP Software configuration files.
  112.  
  113. (1)  
  114. Edit the NET.INI file in your main bbs directory.  Near the bottom of
  115. this file, there should be a subsection called: [NEWS].  Make sure that
  116. is not commented out by having a semi-colon (;) in front of this line.
  117.  
  118. SAMPLE NEWS SECTION FROM NET.INI
  119.  
  120. [NEWS]
  121. ;
  122. ; Your news host where your authorized to retrieve newsgroup articles.
  123. NEWSHOST = 255.255.255.255
  124. ;
  125. ; Username, when provider requires a login to use the news host.
  126. ;NEWSNAME = username
  127. ;
  128. ; Associated password for news host login.
  129. ;NEWSPASS = password
  130. ;
  131. ; Account to send inbound mail which isn't addressed to a specific user.
  132. POSTMASTER = 1
  133. ;
  134. ; Use WWIV real name (USER.LST) instead of the alias on outbound mail.
  135. REALNAME = N
  136. ;
  137. ; Maximum number of cross-posts before discarding a newsgroup article.
  138. XPOSTS = 5
  139. ;
  140. ; Use a fake name on newsgroup posts to prevent getting unsolicited mail.
  141. SPAMCONTROL = Y
  142. ;
  143. ; User-defined fake name when SPAMCONTROL=Y (must have an '@' and a '.').
  144. SPAMADDRESS = yourhandle@NOSPAMyourdomain.com
  145. ;
  146. ; User-defined fake name when SPAMCONTROL=Y (must have an '@' and a '.').
  147. REPLYTO = yourhandle{at}yourdomain{dot}com - Replace Obvious.
  148. ;
  149. ; Signature file appended to newsgroup posts and Internet mail (ASCII only!)
  150. SIGNATURE = D:\WWIV\GFILES\INTERNET.TAG
  151. ;
  152. ; Bypass crosspost check on binary newsgroups?  If 'Y' will *not* perform a
  153. ; check against the number of crossposts.
  154. ;BINXPOST = Y
  155.  
  156. (2)  
  157. Make sure the NEWSHOST line is uncommented and defined.  Put in the name
  158. of your news server for your ISP on this line.  The numerical address
  159. seems to work better than the alphanumeric version.
  160.  
  161. (3)
  162. Some ISP's require authentification (in effect, another logon) in order
  163. to allow you to connect to them, in order to preserve their resources.
  164. The NEWSNAME and NEWSPASS are now presented at time of connection.  If
  165. your host does *not* require authentication, you *must* comment _out_
  166. the NEWSNAME and NEWSPASS lines in NET.INI, otherwise you'll get
  167. authentication errors!
  168.  
  169. (4)
  170. There are ways to control internet spam.  First, set your net.ini file's
  171. maximum crossposts to the amount you prefer; the suggested value is 5.
  172. In the case of Binary newsgroups, you may want to bypass that check.
  173. There is a yes/no toggle in net.ini if you wish to do so.  For specific
  174. filters, some have used Autosend's profanity filtering ability, and
  175. others have used Strip-It, but some found these methods unsatisfactory.
  176.  
  177. As of Beta 56, a Spam filter was added to the project.  You must create a
  178. file in your FILEnet directory called NOSPAM.TXT.  You should list the
  179. that things you want filtered, one entry per line, case-insensitive.  You
  180. may list originating addresses, or subject matters of messages that you
  181. don't wish to be imported to the bbs.  With Beta 57, the routines ensure
  182. that the keywords must be at least three characters long.
  183.  
  184. In Beta 77, there were added defined sub-sections in this file of
  185. [GLOBAL], [NEWS], and [MAIL].  Quotes may be added as before to
  186. define embedded spaces.  You must put in section headers like:
  187.  
  188. ;NOSPAM.TXT
  189. ;
  190. [GLOBAL]
  191. ;For use in parsing against both E-Mail *and* Newsgroups.
  192. make money fast
  193. fast cash
  194. phone sex
  195. 6t9.com
  196. " MLM "
  197. $$$$$
  198. "free "
  199. "live "
  200. [NEWS]
  201. ;For use in filtering out unwanted Usenet posts.
  202. .UUE
  203. .JPG
  204. .GIF
  205. .ZIP
  206. [Mail]
  207. ;Used to killfile those you wish to exclude from E-Mailing you.
  208. @money
  209. money@
  210.  
  211. If there's a match, the message is skipped during retrieval.  The delay
  212. in parsing even a 100 line NOSPAM.TXT is insignificant compared to the
  213. time saved by not retrieving the spam!  (In other words, the comparison
  214. is pretty quick!)  The check is bypassed if BINXPOST=Y in NET.INI or if
  215. NOSPAM.TXT does not exist in the FILEnet directory.
  216.  
  217. QUOTES: If you wish to include spaces in the string, you must use quotes
  218. in the filtered text.  For instance:
  219.  
  220. " MLM "
  221.  
  222. ...will even filter those pesky mails that claim NOT to be Multi-Level
  223. Marketing, even when they patently are, on closer inspection.  <VEG>
  224.  
  225. Quotes can also help to make sure the string is really a problem.
  226. The simple string 'tw@t' would filter the name of a Magic: the
  227. Gathering game card called "Rootwater Depths" (a true example), while
  228. the string " tw@t " would not filter a valid discussion of the card.
  229.  
  230. (5)
  231. Starting with Beta 51, and corrected by Beta 57, the project will check
  232. the Port 37 of the listed TIMEHOST, and update your system clock after a
  233. mail or news connect.  The default Host is Frank Reid's in Maryland:
  234. ns.nctsw.navy.mil.  To get the correct time with that Host even if you are
  235. in a different Time Zone, set the following environmental variable in your
  236. CONFIG.SYS (this variable is a good idea even if you use a local host).
  237.  
  238.                Eastern Time ...: SET TZ=est5edt
  239.                Central Time ...: SET TZ=cst6cdt
  240.                Mountain Time ..: SET TZ=mst7mdt
  241.                Pacific Time ...: SET TZ=pst8pdt
  242.                Alaska .........: SET TZ=ast9adt
  243.                Hawaii .........: SET TZ=hst10hdt
  244.  
  245. Note: If your Timezone does not use Daylight Savings Time, use the listed
  246. Zone without the last three letters.
  247.  
  248. [EXAMPLE: Arizona (Mountain Time, no Daylight Savings) would be:
  249. SET TZ=mst7.]
  250.  
  251.  
  252. IV.  Then, once you are connected to the newsgroup node:
  253.  
  254. (1) 
  255. Create a new file called NEWS.RC in the FILEnet Net directory.  You will 
  256. list your newsgroups in this file, one to a line.  For the proper format, 
  257. see Section IV-3.
  258.  
  259. (2)
  260. If you also want a list of all current newsgroups, put at the very top 
  261. of the file NEWS.RC "newsrc" (no quotes), and it will download the current 
  262. list for you.  It will make a file called NEWSRC with one newsgroup listed
  263. per line, for all the 18000 plus newsgroups, (or however many there are
  264. listed at your local host).
  265.  
  266. Previous to Beta 52, this would *NOT* update automatically.  If you
  267. wanted a new list before this version, you deleted or renamed the newsrc
  268. file, and did this step again.  If you absolutely need a new copy, you can
  269. still do this and it will work fine.  See section IV-7 for how Beta 52
  270. changed this situation, and how the auto-update functions.  There is
  271. a switch in NET.INI if you wish to bypass this routine.
  272.  
  273. HINT: If you want users to be able to request newsgroups, make the NEWSRC
  274. file available as a bulletin or as a file for downloading.
  275.  
  276. (3)
  277. In the NEWS.RC file put in (as a sample) some low-volume newsgroups, I used 
  278. alt.bbs.wwiv (pretty much devoted to PPP coversations, now).  
  279. In this format:
  280.  
  281. THE NEWS.RC FORMAT DIAGRAM
  282.  
  283. + --- CASE SENSITIVE NEWSGROUP NAME(a)
  284. |            + ----------------- LOWEST ARTICLE # READ(b)
  285. |            | + ---------------------------------- ALPHANUMERIC SUBTYPE(c)
  286. V            V V                
  287. alt.bbs.wwiv 0 1001
  288.  
  289. Parts of the NEWS.RC format diagram.
  290.  
  291. a.  Name.
  292. Newsgroup Names are usally lower case.  Check NEWSRC for _exact_ syntax.
  293. Without the EXACT newsgroup name, you cannot connect to the group.
  294.  
  295. b.  Article number.  
  296. Once you have a current newsrc file, you can see the highest article number 
  297. listed at the server.  If you wish to sample the group, put in a number 
  298. that is perhaps 50 below this number.  If you put in 0, it will grab in the 
  299. latest x articles, where x is the maximum messages defined in Boardedit.
  300. If the program resets your article number to 0, this could indicate that
  301. the Newserver is full or down.  Check with your ISP, and see what the
  302. situation is.
  303.  
  304. c.  Subtypes.  
  305. Before PPP 1.5 beta-25, the subtypes could only be numeric, but the 
  306. project can now accept alphanumeric subtypes standard to WWIV.  If you are 
  307. using numerical subtypes with an easily guessed scheme, CHANGE THEM NOW!
  308. There have been instances of boards hacking spam through legitimately
  309. posting boards, and better safe...  Be sure to delete your old N*.net 
  310. files, and add @32767 to the new alpha n*.net files, because WWIV will not 
  311. do that for you automatically.  If you are changing your subtypes, also be 
  312. sure to change the subtypes in your news.rc file, as that needs to coincide 
  313. with your new n*.net file.
  314.  
  315. I don't know why, but the alpha characters in the subtypes in news.rc
  316. MUST be in ALL-CAPS, if not the messages bounce as unknown/unwanted.
  317. Maybe it's because most ISP's are UNIX boxes, and they run on a case
  318. sensitive operating system, or maybe it's a quirk of the current PPP
  319. program, but the result is that (in my experience) subtypes with letters
  320. in them MUST be all *capital* letters. If you make the subtype 0,
  321. it will spool the newsgroup into a file.  See section V.
  322.  
  323. (4)
  324. In Boardedit subscribe to the newsgroup, using the subtype you determined 
  325. above, and making _yourself_ host.  (Recommended: say no to listing the sub 
  326. in the subs.lst, and say no for autorequests.  Since each member of FILEnet 
  327. connected to the Internet can better get newsgroups for themselves, there 
  328. is generally no benefit for gating them around.  Possible exceptions to 
  329. this rule of thumb include gating to local systems on other networks, to 
  330. Non-Internet connected FILEnet nodes, and in cases where a node's news 
  331. server is censoring newsgroups.)  Make a unique filename as usual.
  332.  
  333. NOTE: It also works to make @32767 to be the host of the newsgroup.  Using 
  334. this method eliminates the N*.NET files mentioned below, and allows you to
  335. Net-Val for *your* users if, for instance it's a moderated newsgroup and
  336. you don't want just any moron to post on it.  If you use this method,
  337. skip to part IV-6.
  338.  
  339. (5)
  340. In DOS, or whatever, edit the N*.NET file in your Filenet directory, (or 
  341. N####.NET where #### is the Subtype for the group) and add at the top 
  342. 32767.  Save the file.  You have manually added the ficticious newsgroup 
  343. node as a subscriber.
  344.  
  345. (6)
  346. Force a connect to @32767, it will download the current NEWSRC file if you 
  347. asked it to do so, as per section IV-2, and will give some posts from the
  348. newsgroups you defined.  They will be the latest available messages, so
  349. you'll probably have to wait a while to get any more posts.
  350.  
  351. It will delete the NEWS.RC top line, and change the middle numbers of each
  352. of the other lines to the number of the highest article.  It will update
  353. this number every time you connect. Anytime you want to check for new
  354. messages, just force a callout, or if you're lucky, you can set it up to
  355. check automatically every hour or so.
  356.  
  357. (7)
  358. Starting with Beta 52, and perfected in Beta 53, the program will now
  359. automatically download a copy of the newest NEWSRC list at the first of
  360. every month, and then download daily updates of the changes that might
  361. show up in between the monthly events.  If you wish to bypass, there
  362. is a switch in NET.INI.
  363.  
  364. SITUATIONS WHERE A _FULL_ NEWSRC LISTING WILL DOWNLOAD.
  365.         - There is no NEWSRC.
  366.         - NEWSRC is listed on the top line of NEWS.RC.
  367.         - NEWSRC's date is from a previous month.
  368.  
  369. SITUATION WHERE A NEWSRC _UPDATE_ WILL DOWNLOAD.
  370.         - If the NEWSRC's Month is Current, but the Date is not.
  371.           (I.e., not Yesterday's).
  372.  
  373. SITUATION WHERE NEWSRC IS -*NOT*- DOWNLOADED OR UPDATED.
  374.         - The NEWSRC is of the Current month and date.
  375.           (Subsequent connects of a single day will skip the routines.)
  376.  
  377.  
  378.  
  379. V.  Binary Newsgroups.
  380.  
  381. (1)
  382. If you make the Subtype number 0, as well.  The articles will concatenate 
  383. as one file in the SPOOL directory.  This is useful for Binary newsgroups.  
  384. This can also be used as another way to test a newsgroup before exposing 
  385. your readers to it.  (Testing for volume, content, etc.)
  386.  
  387. As of Beta 73, an item of "Group: <groupname>" was added to the headers
  388. of recieved binaries, for use by PBNews in sorting into the proper
  389. directories.  See (3), below.
  390.  
  391. (2)
  392. Options were added to the Binary news retrieval sessions allowing
  393. you to "jump" ahead when you're way behind.  These commands are:
  394.  
  395. ']' - Jumps forward 10 articles
  396. '}' - Jumps forward 100 articles
  397. '+' - Takes user input for number of articles to jump
  398.  
  399. These keys are only active during Binary (News*.UUE) retrieval.  The
  400. project already limits total articles for newsgroups brought into the
  401. BBS, so they can't exceed the sub capacity.
  402.  
  403. (3)
  404. Keep an eye out for Papa Bear's Binary Newsgroup Utility, currently in
  405. development.  From what I understand, it goes through and extracts all
  406. valid binaries in a spool, and auto uploads them into defined BBS
  407. directories.  Mail him at @518.FILEnet for more information.
  408.  
  409.                            A N N O U N C I N G ! ! !
  410.               ╥─────┐ ╥────┐
  411.               ║     │ ║    │
  412.               ╟─────┘ ╟────┴┐ ╓──┐ ╓──┐ ╥   ┬ ╓──┐    ─╖    ╓──╖
  413.               ║       ║     │ ║  │ ╟──┘ ║ │ │ ╙──┐     ║    ║  ║
  414.               ╨       ╨─────┘ ╨  ┴ ╙──┘ ╙─┴─┘ ╙──┘    ─╨─ o ╙──╜
  415.  
  416.             Proudly written by Pâpâ ßêâr / a CEREBRUM '97 release!
  417.  
  418. FEATURES:
  419. o   Assures 100% data extraction from large NEWS*.UUE files (as generated
  420.     by the PPP Project's NEWS.EXE (Internet newsgroup reader) module by:
  421.     - breaking apart the input file(s) into manageable pieces.
  422.     - renaming duplicate filenames on the fly.
  423.     - executing UUDEVIEW.EXE (for DOS) on each individual file created.
  424. o   Creates a FILES.BBS file that accurately reflects *all* filenames
  425.     created, including those changed by the duplicate filename indexer.
  426. o   FAST! FAST! FAST!  23 seconds for a 32Mb, 50,580 line input file in
  427.     "Quiet" {fast mode} (with UUdeview execution: 45 seconds).  FILES.BBS
  428.     and PBNEWS.LOG creation do not add any time to processing!
  429. o   Limits processing of articles that are smaller than you specify, to
  430.     block out those annoying spam-type *.HTM files.
  431. o   Re-routing of decoded files to directory or directories of your choice.
  432. o   Best of all, its FREEWARE!  No registration required.
  433.  
  434.                       Available from StarPort Valhalla:
  435.                 518.FILEnet - 11579.WWIVnet - papabear@dsp.net
  436.  
  437.  
  438. VI.  How to Remove newsgroups.
  439.  
  440. (1)  
  441. Remove the newsgroup subboard as usual in Boardedit.  If you had the 
  442. newsgroup set to spool, only the next step is neccessary.
  443.  
  444. (2)  
  445. Then remove the line in NEWS.RC that has that newsgroup defined.
  446. Failure to do this part may cause an error, as there is no subtype of
  447. the number you first defined, and the subtype is not 0.  See section
  448. V for details of the results if you change the subtype to 0.
  449.  
  450.  
  451. VII.  FILEnet mod for CALLOUT.NET
  452.  
  453. (1)
  454. Since newsgroups are fairly active on the Internet, and most providers 
  455. don't increase your costs with a high number of calls, you might want to 
  456. have your board call out every few hours to pick up the latest messages 
  457. and/or network packets.  To do this, you'll need to make a mod to your 
  458. source code.  For WWIV 4.23 through 4.24a (and perhaps beyond), you need 
  459. to change one line in NETSUP.C, void attempt_callout(void):
  460.  
  461.       if ((ok) && (i2!=-1)) {
  462.         if (ncn[i2].bytes_waiting==0L)
  463.           if (con[i].call_anyway) {
  464.             l1=(l-ncn[i2].lastcontact+60*3)/SECONDS_PER_HOUR;   /* change */
  465.             if (((unsigned char)l1 < con[i].call_anyway) ||
  466.                ((con[i].options & options_sendback)==0))
  467.               if (!net_only)
  468.                 ok=0;
  469.  
  470. (2)
  471. To activate this "call anyway" feature, you need to add the / parameter to
  472. CALLOUT.NET.  Make your @32767 entry look like:
  473.  
  474. @32767 & /3
  475.  
  476. to force a callout roughly every three hours.  (Note without the mod, this
  477. means force a callout every three days).  You might want to make the same
  478. change to your other FILEnet Internet connects as well, to speed up the
  479. normal network packets as well.
  480.  
  481.  
  482. ==========================================================================
  483. Hope this helps, and I will update this file as the situation requires, 
  484. and repost it as needed.  I can autopost it monthly, and if there are any
  485. problems or suggestions, please email me.
  486.  
  487. Newsgroup FAQ maintainer: Eileen Stone, #2 @172.FILEnet
  488.