From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35562 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Slrnpull Date: 01 Apr 2001 20:11:10 -0700 Sender: reader@newsguy.com Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171288 3789 80.91.224.250 (21 Oct 2002 03:34:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:34:48 +0000 (UTC) Return-Path: Original-Received: (qmail 21919 invoked by alias); 2 Apr 2001 03:11:15 -0000 Original-Received: (qmail 21914 invoked from network); 2 Apr 2001 03:11:15 -0000 Original-Received: from mail.networkone.net (209.144.112.246) by gnus.org with SMTP; 2 Apr 2001 03:11:15 -0000 Original-Received: (qmail 11139 invoked from network); 2 Apr 2001 03:11:13 -0000 Original-Received: from unknown (HELO reader.local.lan) (209.144.117.151) by mail.networkone.net with SMTP; 2 Apr 2001 03:11:13 -0000 Original-Received: (from reader@localhost) by reader.local.lan (8.11.0/8.11.0) id f323BA412900; Sun, 1 Apr 2001 20:11:10 -0700 X-Authentication-Warning: reader.local.lan: reader set sender to reader@newsguy.com using -f Original-To: ding@gnus.org User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Original-Lines: 141 Xref: main.gmane.org gmane.emacs.gnus.general:35562 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35562 Anyone running slrnpull here, that can coach me a bit? >> (setq gnus-select-method '(nntp "localhost")) Harry Writes: > > But getting back to slrnpull. The line above does nothing for me > > with a recently installed slrnpull setup. I'm not particularly > > knowledgable about slrn or slrnpull but it seems to have created all > > the needed directories etc under /var/spool/slrnpull. > Kai Writes: > Maybe slrn doesn't come with an NNTP server? Maybe you are expected > to read these articles directly off the directory? [...] > (setq gnus-select-method '(nnspool "" > (nnspool-spool-directory "/var/spool/slrnpull") > (nnspool-nov-directory "???"))) The slrnpull docs say it doesn't but it also says leafnode doesn't. slrn itself works with this setup, and with code like this in ~/.slrnrc. It refers to `inn' but I don't have it installed: ~/.slrnrc stuff: set spool_inn_root "/var/spool/slrnpull" set spool_root "/var/spool/slrnpull/news" set spool_nov_root "/var/spool/slrnpull/news" set use_slrnpull 1 set read_active 1 set server_object "spool" set hostname "reader.local.lan" set username "reader" ========= END .slrnrc CODE =========== (setq gnus-select-method '(nnspool "" (nnspool-spool-directory "/var/spool/slrnpull") (nnspool-nov-directory "/var/spool/slrnpull/news") (nnspool-active-file "/var/spool/slrnpull/data/active"))) The information above is correct (I think), and gnus is finding the active file. The actual NOV files are buried in the unix style directories under news In the same way that gnus-agent stores them. Like: /var/spool/slrnpull/news/gnu/emacs/gnus/.overiew and something called `.minmax' that looks like it contains the count of read and new articles? It says 37726 38855 My proceedure for a test: (in an expimental user account) delete .newsrc* Mail News With the above server code in .gnus I get two groups once gnus starts (since it isn't really a nntp server): 0: nndraft:queue 0: nndraft:drafts Pressing `^', I then press on the nnspool server and am shown the groups under /var/spool/news/ ==> Looks promising so far. Then subscribe them all with `u' and attempt to enter alt.test.yer.posts: Invalid group name (no such directory): alt.test.yer.posts Couldn't request group alt.test.yer.posts: Invalid group name (no such directory): alt.test.yer.posts The group is there in this format /var/spool/slrnpull/news/alt/test/yer/posts So I thought it might be the `(gnus-use-long-file-name)' variable. I forgot what the default is but tried both ways: setq `t' and `nil' I get the same error either way (same as above error) Below is the output from one of the tests in ****Messages** buffer. It looks as if things are happening as they should but gnus doesn't like the file structure: Loading gnus... Loading easymenu... Loading easymenu...done Loading gnus...done Loading gnus-start... Loading gnus-start...done hello world -- ~/.gnus Loading gnus-agent... Loading gnus-agent...done Looking up local news spool... Reading /home/korn/.newsrc.eld... Reading active file via nnspool...done Reading active file via nnml... Opening nnml server... nnml: Reading incoming mail from directory... nnml: Reading incoming mail from file... nnml: Reading incoming mail (no new mail)...done Reading active file via nnml... Reading active file via nnml...done Reading active file from archive via nnfolder... Opening nnfolder server on archive... Reading active file from archive via nnfolder... Reading active file from archive via nnfolder...done First time user; subscribing you to default groups No new newsgroups Checking new news... Checking new news...done Loading gnus-srvr... Loading gnus-srvr...done Connecting to ... Reading active file... Reading active file...done Connecting to ...done Retrieving newsgroup: alt.test.yer.posts... Loading gnus-ml... Loading gnus-ml...done [-ed hp (wrapped for mail)] Invalid group name (no such directory): alt.test.yer.posts Couldn't request group alt.test.yer.posts: Invalid group name (no such directory): alt.test.yer.posts