home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / NEWS020.ZIP / NEWS020.FAQ < prev   
Text File  |  1997-12-29  |  21KB  |  483 lines

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