home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / news / pl-news-hierarchy < prev    next >
Internet Message Format  |  2001-11-02  |  19KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!howland.erols.net!surfnet.nl!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!isdnet!news.internetia.pl!news.nask.pl!ict.pwr.wroc.pl!not-for-mail
  2. From: tsurmacz@blurp.bnafh.bofh.org.pl (Tomasz R. Surmacz)
  3. Newsgroups: pl.news.admin,pl.answers,soc.culture.polish,news.admin.hierarchies,soc.answers,news.answers
  4. Subject: How to add pl.* hierarchy to a news server (FAQ)
  5. Supersedes: <news-pl-new-site-faq-1-1001981704@ict.pwr.wroc.pl>
  6. Followup-To: poster
  7. Date: 2 Nov 2001 01:15:12 -0000
  8. Organization: Technical University of Wroclaw, Poland
  9. Lines: 386
  10. Sender: tsurmacz@okapi.ict.pwr.wroc.pl
  11. Approved: rzm@mat.uni.torun.pl,news-answers-request@MIT.Edu
  12. Distribution: world
  13. Expires: Fri, 07 Dec 01 01:15:08 GMT
  14. Message-ID: <news-pl-new-site-faq-1-1004663708@ict.pwr.wroc.pl>
  15. Reply-To: tsurmacz@slurp.bnafh.bofh.org.pl (Tomasz R. Surmacz)
  16. NNTP-Posting-Host: okapi.ict.pwr.wroc.pl
  17. Summary: Information how to get Polish national news hierarchy (pl.*) at your
  18.     news server, where to get it from, what it is and how to configure
  19.     your news server to get the proper propagation of all the articles,
  20.     newgroup messages and moderated postings.
  21. Keywords: faq news pl hierarchy pl-hierarchy new site innd cnews poland polish
  22. X-Archive: ftp://ftp.ict.pwr.wroc.pl/pub/faq-pl/news-pl-new-site-faq.1
  23.     and http://www.usenet.pl/doc/news-pl-new-site-faq.html
  24. Frequency: Posted monthly, on 2nd day of the month.
  25. X-Copyright: (c) 1994-1999 Tomasz R. Surmacz.  The following text may
  26.     be copied in verbatim form (in whole or partial) for *private* (ie.
  27.     non-commecial) use, transported via news, e-mail, stored on a WWW
  28.     or ftp server, etc.
  29. Xref: senator-bedfellow.mit.edu soc.culture.polish:347559 news.admin.hierarchies:12169 soc.answers:16001 news.answers:218339
  30.  
  31. Posted-By: auto-faq 3.1.1.2
  32. Archive-name: usenet/pl-news-hierarchy
  33.  
  34. How to add pl.* hierarchy to a news server
  35.  
  36. This document contains the most important things related to adding the pl.*
  37. news hierarchy to a news server or just configuring the server to carry it
  38. properly if pl.* groups are already there. It is intended mainly for news
  39. system administrators (and Polish users abroad trying to convince their news
  40. administrators to get "pl.*" groups). To make things easier, this is a
  41. detailed step-by-step instruction, but if it seems too elementary for you -
  42. look at the end for a quick checklist (Use your favourite key sequence to
  43. find '=====').
  44.  
  45. If you are a news administrator at some site and somebody has asked you to
  46. participate in distribution of pl.* groups, then read on.
  47.  
  48. If you are a news user, who wants to read the pl.* groups on his default
  49. news server - you should find the news administrator, kindly ask him if he
  50. could arrange receiving the pl.* newsgroups, and send him this article (or
  51. the pointer to the HTML version at
  52. http://www.ict.pwr.wroc.pl/doc/news-pl-new-site-faq.html), to make his job
  53. easier.
  54.  
  55. ----------------------------------------------------------------------------
  56. There are few things to do, if you are going to receive the pl.* news
  57. hierarchy, but the most important ones are:
  58.  
  59.    * getting the pl.* groups sent to you,
  60.    * sending pl.* groups back (so that your users can POST),
  61.    * configuring the hierarchy for the automatic creation of new groups.
  62.    * appropriate handling of postings to moderated groups.
  63.  
  64. You may also find answers to some general questions about pl.* groups at the
  65. end of this document:
  66.  
  67.    * What are the pl.* groups anyway?
  68.    * Is there any 'checkgroups' message for pl.* groups?
  69.    * What about PGP-signed control messages?
  70.  
  71. ----------------------------------------------------------------------------
  72.  
  73. 1. Getting the articles.
  74.  
  75. Contact the news administrator of the news server already carrying pl.*
  76. groups. Try to find the nearest one (try 'ping -s' and 'traceroute'). The
  77. best of course is when pl.* groups are carried over your 'normal' feed - ie.
  78. together with other news hierarchies. But as the pl.* news are quite young
  79. (first groups were created about June 1994), there are not many news servers
  80. outside of Poland having them, so you may have to create a special new feed
  81. for them. Below is the list of some servers outside Poland (and some in
  82. Poland) carrying pl.*, that I know of. It is not very long (nor complete) as
  83. you see. If the contact address is not explicitly listed, try 'usenet' at
  84. the news server's address, as 'usenet@news.ict.pwr.wroc.pl'.
  85.  
  86. USA/Cleveland   news.wariat.org       zbig@wariat.org (Zbigniew J. Tyrlik)
  87. USA/Connecticut news.micro-net.net    jacek@ponarski.com (Jacek A. Ponarski)
  88. USA             uunet.uu.net          (X 1995)
  89. USA             gail.ripco.com
  90. USA/MCI         news.mcs.com
  91. USA             ratty.wolfe.net
  92. USA/Sprintlink  news.sprintlink.net
  93. USA             news.hookup.net
  94. USA             news.uoregon.edu      newsadmin@news.uoregon.edu
  95. USA             news.efn.org          Russ Taylor (17.12.1996)
  96. Canada/Toronto  news.ki.net           Marc G. Fournier <news@ki.net> (5.08.1996)
  97.     and many more
  98.  
  99. Sweden          sunet.se              (existing feeds only!, see below)
  100. Norway          news.uio.no           usenet@usenet.no (since XI 1996)
  101. Netherlands     news.easy.nl          Peter Janssens <pj@easy.nl> (V 1996)
  102. Netherlands     news.NL.net, news.xs4all.nl, news.IAEhv.nl   see note below
  103. Germany         news.uni-stuttgart.de Kurt Jaeger <news@news.uni-stuttgart.de>
  104. Germany         news.desy.de          Kars Ohrenberg <ohrenber@zedy00.desy.de>
  105. Germany         news.fu-berlin.de
  106. Australia       news.ozemail.com.au
  107. Australia       news.mel.aone.net.au
  108.  
  109. Poland          news.ict.pwr.wroc.pl  Tomasz Surmacz <tsurmacz@ict.pwr.wroc.pl>
  110. Poland          news.uw.edu.pl        Michal Jankowski <michalj@fuw.edu.pl>
  111. Poland          news.icm.edu.pl       Jan Rychter <jwr@news.icm.edu.pl>
  112. Poland          news.nask.pl          Lukasz Ploszajski <lukasz@nask.pl>
  113.  
  114.     and all existing news servers in Poland (check
  115.     http://www.ict.pwr.wroc.pl/pzs/pzs_nntp.html for the complete list)
  116.  
  117. Send e-mail to any of the above news administrators, asking him if he could
  118. feed you the pl.* hierarchy. Include your news server addresses: the
  119. internet address of the server and its 'news name' ie. the string which is
  120. put in the 'Path:' header. Unfortunately, sunet.se seems to be overloaded
  121. with its newsfeeds, so its administrators will not give you a 'new feed',
  122. but if you already have one - just ask for the pl.* hierarchy to be added to
  123. your existing feed. In Netherlands you should probably get the pl.* groups
  124. from your 'usual' neighbour. If not, contact admins of news.NL.net.
  125.  
  126. Otherwise, contact other people from this list.
  127.  
  128. In reply you should get appropriate host name/news name for the host you
  129. will be receiving pl.* articles from. (The first will be exactly as in the
  130. list above (let it be "sample.site.pl", but the 'Path:' address is usually a
  131. bit different - say "news.pl".) You should also get the current list of all
  132. pl.* groups that you ought to create manually. This list is also posted
  133. regularly to pl.answers and pl.news.admin groups (you may connect to
  134. news.ict.pwr.wroc.pl to get access to these groups before you establish the
  135. proper feed for pl.* for yourself). You can get the part of newsgroups and
  136. active file also via ftp, as stated below.
  137.  
  138. Add the internet address (sample.site.pl) to your hosts.nntp file and
  139. restart the server or do a "ctlinnd reload hosts.nntp '' ", if you are
  140. running INND. This way you start recognizing the other host as the news
  141. server and not a client. The 'PathHost' ("news.pl" in our example) will be
  142. needed for the second step - sending news back.
  143.  
  144. Now - create all the groups. You should get the list in the format of the
  145. active file, so this little script should do the job:
  146.  
  147. --------------------------- add_pl.sh ------------------------------
  148. #!/bin/sh
  149. # Usage: add_pl file_containing_pl_groups_in_active_format
  150. # such as http://www.usenet.pl/doc/pl.active
  151. # or ftp://ftp.ict.pwr.wroc.pl/pub/faq-pl/pl.active
  152.  
  153. # change this to reflect your configuration
  154. ACTIVE=/usr/lib/news/active
  155. PATH=$PATH:/usr/bin:/bin:/usr/lib/news/bin
  156.  
  157. # Pause the server  (assuming innd)
  158. ctlinnd pause 'updating active'
  159.  
  160. cp ${ACTIVE} ${ACTIVE}.bak
  161. awk '{ printf ("%s 0000000000 0000000001 %s\n", $1, $4); }' < $1 >> $(ACTIVE)
  162.  
  163. ctlinnd reload active 'updating active'
  164. ctlinnd go 'updating active'
  165. ----------------------------------------------------------------------
  166.  
  167. or if there are not too many groups, then (for INND only):
  168.  
  169. --------------------------- add_pl_small.sh --------------------------
  170. #!/bin/sh
  171. # Usage: add_pl_small file_containing_pl_groups_in_active_format
  172. # such as http://www.usenet.pl/doc/pl.active
  173. # or ftp://ftp.ict.pwr.wroc.pl/pub/faq-pl/pl.active
  174.  
  175. # change this to reflect your configuration
  176. PATH=$PATH:/usr/bin:/bin:/usr/local/news/bin
  177.  
  178. while read group last first type ; do
  179.         ctlinnd newgroup ${group} ${type}
  180. done < $1
  181. ----------------------------------------------------------------------
  182.  
  183. You should also get the descriptions of all the pl.* groups so just 'cat >>'
  184. them to the end of your 'newsgroups' file. The current list of all pl.*
  185. groups (updated daily) can be downloaded via ftp from the following address:
  186.  
  187.     ftp://ftp.ict.pwr.wroc.pl/pub/faq-pl/pl.newsgroups
  188.  
  189. The portion of current 'active' file containing only pl.* groups can be
  190. found at:
  191.  
  192.     ftp://ftp.ict.pwr.wroc.pl/pub/faq-pl/pl.active
  193.  
  194. Even better and simpler way of creating new groups and getting in sync is
  195. getting just the pl.newsgroups file and feeding it directly to the
  196. docheckgroups program. This will produce a series of 'ctlinnd newgroup ...
  197. lines which can be fed to shell for execution (ie. 'cat pl.newsgroups |
  198. docheckgroups | sh')
  199.  
  200. ----------------------------------------------------------------------------
  201.  
  202. moderators file:
  203.  
  204. All the postings to the moderated groups under pl.* should be sent to
  205. news-group-name@usenet.pl (with dots in the group name replaced by hyphens)
  206. - so to your 'moderators' file add the following somewhere near the
  207. beginning (before the default "*:%s@uunet.uu.net"):
  208.  
  209.     pl.*:%s@usenet.pl
  210.  
  211. If you have installed the innd1.5.1 server and config files, you just have
  212. to uncommend the appropriate line in the moderators file.
  213. ----------------------------------------------------------------------------
  214.  
  215. control.ctl file:
  216.  
  217. To get all the new pl.* groups created and removed automatically when
  218. needed, add the following to the control.ctl file:
  219.  
  220. newgroup:newgroup@usenet.pl|michalj@*fuw.edu.pl:pl.*:doit=newgroup
  221. rmgroup:newgroup@usenet.pl|michalj@*fuw.edu.pl:pl.*:doit=rmgroup
  222.  
  223. Please note, there is *NO* dot between the first star and 'fuw' in the
  224. second address. Usually the first of the above two addresses is used.
  225.  
  226. If you can check pgp-signed control messages, look at the end of this
  227. document to get more info about how to set it up for the pl.* hierarchy.
  228. ----------------------------------------------------------------------------
  229.  
  230. expire.ctl file:
  231.  
  232. This is completely your (or your users) policy, how long to keep the
  233. postings in each group, but let me suggest you just one thing. There is a
  234. special group pl.answers which is much like all *.answers groups - it is
  235. moderated and all articles there are sent periodically with the appropriate
  236. 'Expires:' and 'Supersedes:' headers, so it would be best, if these were
  237. respected. If your 'standard' entry is like: '*:A:1:10:never' - ie. 'never'
  238. remove articles with 'Expires:' header before they expire - don't worry
  239. about pl.answers. But if you force all articles to be expired after say 10
  240. days - please make an exception and add to the expire.ctl:
  241.  
  242.        pl.answers:A:1:10:never
  243.  
  244. or:
  245.  
  246.        pl.answers:A:1:10:60
  247.  
  248. which means keep articles there for at least 1 day, usually 10 days if there
  249. is no 'Expires:' header, otherwise respect the header (but in the latter
  250. case - not longer than 60 days even if Expires: header says it should be
  251. kept longer). All the articles have maximum 30-40 days expiration period, so
  252. any of the above will be ok. (It is a good idea to respect these headers in
  253. other groups too, anyway).
  254.  
  255. ----------------------------------------------------------------------------
  256.  
  257. 2. Sending news:
  258.  
  259. Unless you are receiving pl.* groups through your mainstream feed, you need
  260. to reconfigure a bit your server to send pl.* groups back. And even if you
  261. are receiving them through your normal feeds, please make sure they are
  262. included in the list of groups sent out.
  263.  
  264. When you asked for a pl.* feed, you also got permission to send all pl.*
  265. groups back, so to your 'newsfeeds' file (that's in innd; in cnews it is
  266. called 'sys') add appropriate entry for sending the pl.* groups back. Use
  267. the 'pathhost' name (in our example - "news.pl") that you have got, to build
  268. the entry. For example, in innd (assuming getting news from sample.site.pl
  269. and sending them back there) it might look like:
  270.  
  271.     plnews/news.pl\
  272.         :!*,pl.*\
  273.         :Tf,Wnm:
  274.  
  275. (replace "news.pl" with what appears in the Path: field put there by the
  276. site feeding you) and then you also need to tell your cron job sending news,
  277. to send them also to "sample.site.pl". If you are using nntpsend/innxmit,
  278. add to the nntpsend.ctl file:
  279.  
  280.     plnews:sample.site.pl:::-T1720 -t300
  281.     ^      ^                ^
  282.     |      |                + Other useful parameters
  283.     |      Internet addres of your pl.* provider
  284.     +-- Name used in newsfeeds file.
  285.  
  286. That should be all... You may now post a test message to pl.test and expect
  287. a reply in e-mail within a day or so, as there is an automatic pl.test
  288. responder attached to one of the servers in Poland. If your test posting
  289. reaches it - get yourself a beer, as you have done a good work. :-) If you
  290. do not want to get the reply message - just include the word 'ignore' in the
  291. message subject or body.
  292.  
  293. ----------------------------------------------------------------------------
  294.  
  295.   =======================================================================
  296.  
  297. Once again, step by step, in short:
  298.  
  299. You probably know your own news system better than me, so these detailed
  300. descriptions may be unnecessary. If you know how to do most of things, use
  301. this short 'checklist' instead:
  302.  
  303.    * Contact the news administrator at the other end and get the feed for
  304.      pl.* groups
  305.    * Add all existing groups to the 'active' file
  306.    * Add groups' descriptions to your 'newsgroups' file
  307.    * Add these 2 lines to the control.ctl file:
  308.  
  309.          newgroup:newgroup@usenet.pl|michalj@*fuw.edu.pl:pl.*:doit=newgroup
  310.          rmgroup:newgroup@usenet.pl|michalj@*fuw.edu.pl:pl.*:doit=rmgroup
  311.  
  312.      And please note, that there is no dot before 'fuw' in the second
  313.      address! For PGP-verification of control messages see comments at the
  314.      end of this document.
  315.  
  316.    * Add this line to the 'moderators' file:                          [new!]
  317.  
  318.          pl.*:%s@usenet.pl
  319.  
  320.    * Check the expiration policy for all 'normal' groups, and if possible -
  321.      try respecting the 'Expires:' headers in pl.answers group by putting
  322.      'never' or '60' in the last field of entry in expire.ctl file.
  323.    * Modify your 'newsfeeds' file to feed all the pl.* groups back, so the
  324.      articles posted by your users will be transferred to other servers.
  325.    * Send a test posting to pl.test and check whether you receive a reply by
  326.      e-mail from an autoresponder.
  327.    * Send a short message to tsurmacz@adm.usenet.pl saying you have added
  328.      pl.* to your news server, so I can keep the list of servers up to date
  329.      (as long as it does not grow beyond a resonable size) and keep track of
  330.      how far pl.* groups are propagated.
  331.    * If your usenet neighbours want to get pl.* groups, send them this
  332.      'starter kit' or point them to the newest version. There should be a
  333.      copy in news.answers, news.admin.hierarchies, pl.answers and
  334.      pl.news.admin at *your* server, but if not, you may always get one
  335.      from:
  336.  
  337.        http://www.usenet.pl/doc/news-pl-new-site-faq.html
  338.        ftp://ftp.ict.pwr.wroc.pl/pub/faq-pl/news-pl-new-site-faq.1
  339.  
  340. ----------------------------------------------------------------------------
  341.  
  342. That's all.
  343.  
  344. Now is the time for...
  345.  
  346. Questions...
  347.  
  348. What are the pl.* groups anyway?
  349.  
  350. The pl.* news hierarchy holds Polish national groups. They sometimes mirror
  351. similar groups in the big-eight hierarchy (with the exception, that in pl.*
  352. groups the most used language is Polish), but some are very specific.
  353.  
  354. Is there any 'checkgroups' message for pl.* groups?
  355.  
  356. Yes, there is. It gets posted automatically once every two months (starting
  357. on January 1st), so you should not see it very frequently. In addition you
  358. may get the list of pl.* groups in the 'newsgroups' file format from the
  359. locations described above and feed it to the 'docheckgroups' program.
  360.  
  361. What about PGP-signed control messages?
  362.  
  363. Yep, the control messages requesting creation or removal of groups in the
  364. pl.* hierarchy are already PGP-signed. Of course, if your server does not
  365. support checking of PGP signatures in control messages, you have to trust
  366. the 'From:' headers. innd versions 1.5.1 and later support PGP control
  367. messages by default, so you just have to uncomment appropriate lines in the
  368. control.ctl file, as they are commented-out by default. The public PGP key
  369. for these messages (ie. the key for pl.announce.newgroups) is included in
  370. the innd 1.5.1 config files and can be also found here:
  371.  
  372. pub  1024/838AF8ED 1996/05/31  pl.announce.newgroups
  373. sig       838AF8ED               pl.announce.newgroups
  374.  
  375. -----BEGIN PGP PUBLIC KEY BLOCK-----
  376. Version: 2.6.2i
  377.  
  378. mQCNAzGvEY4AAAEEAL8clpC5yydhkMN1ppivfj3E6EIyZtntScjuCyI+RwpvLf9o
  379. So+FLbiMmjjCV7BNjds7c1yaDMPDFetZlqEYKof5Q0QK2bDaaou3wtnDesAXqrde
  380. K24GURn0N2BYWR9sEFJ4bwn8fudHelFcAXPt24lI29bu6dX+LddKTteDivjtAAUR
  381. tBVwbC5hbm5vdW5jZS5uZXdncm91cHOJAJUDBRAyc5r/10pO14OK+O0BAWq9A/0e
  382. So5/56x6hkT0to92FUiIbcoHF6J20sa4edDXbzTHZTvNJh3K4iSBwkspMcx8AWyS
  383. 36ckftXsZP2xRTj2Dk4xgLLCcFBjPHt7q5ysa8dChkgEu8770OE5atbQZorzz757
  384. xpOgKmjRXLVbzt680Z807jH/zOo+BRby3ZMJFtGPyrQXPGNvbnRyb2xAYWRtLnVz
  385. ZW5ldC5wbD4=
  386. =n+Qy
  387. -----END PGP PUBLIC KEY BLOCK-----
  388.  
  389. You may also send email to pgp-public-keys@pgp.ai.mit.edu with "GET
  390. 0x838AF8ED" in the Subject: field and empty message body.
  391.  
  392. The corrected control.ctl lines should be as follows:
  393.  
  394. newgroup:newgroup@usenet.pl|michalj@*fuw.edu.pl:pl.*:verify-pl.announce.newgroups
  395. rmgroup:newgroup@usenet.pl|michalj@*fuw.edu.pl:pl.*:verify-pl.announce.newgroups
  396.  
  397. They are not set as a default for innd 1.5.1, so you need to comment out
  398. 'old' newgroup/rmgroup files and copy the above ones.
  399.  
  400. For more information on checking PGP-signed control messages, see
  401. ftp://ftp.uu.net/networking/news/misc/pgpcontrol/README.html or
  402. ftp://ftp.uu.net/networking/news/misc/pgpcontrol/README.
  403. Whether or not you do a PGP validation of control messages, the addresses
  404. they are sent from are the same as mentioned above (in the control.ctl
  405. section).
  406.  
  407. ----------------------------------------------------------------------------
  408. If you have any comments on the above procedure or my description, or if you
  409. find any errors, etc., please do tell me, so I can improve it.
  410.  
  411. ----------------------------------------------------------------------------
  412. Tomasz R. Surmacz (tsurmacz@adm.usenet.pl, tsurmacz@ict.pwr.wroc.pl),
  413. 2.12.1998
  414.  
  415. RCSid: $Id: news-pl-new-site-faq.html,v 2.4 1998/12/22 20:53:26 tsurmacz Exp
  416. $
  417.