I would like to share the state of my newsreading (i.e. .newsrc) between home and work. Apparently it is possible to read news via IMAP. Supposedly Pine can do this. The relevant bits of my ~/.pinerc follow. The truth is I'm not so much interested in Pine as I am in IMAP. The long-term plan is to read the news with Gnus, but via an IMAP backend. This post has continuity problems. Erh. Ok, so I've set up a news collection using Pine, but I don't see any news when I enter it, just a screen that says "Folders on imap.cs.ubc.ca in #public/" but no folders. If I try to create a folder called "comp.mail.pine" I get a message:
I don't know if the problem is in the setup of the imap server, or my config file, but in principle I have access to both, so let me know..
-chris
----------------.pinerc---------------------------- # nntp-server= # Yes I know the following is not my news server, but if # I put in the news server, it tries to connect to port 143 on # that machine, and fails. It looks like /usr/lib/news and # usr/spool/news exist also on the machine called 'imap', so it should # be all good, right? news-collections={imap.cs.ubc.ca}[*] newsrc-path=/grads2/majewski/.newsrc # news-active-file-path= # news-spool-directory=
with slightly better results. I now see a list of newsgroups in the News collection, but when I try to select one, I get:
SELECT failed: Unable to scan newsgroup spool directory
Now, this is weird, because I can cd to /usr/spool/news/ on the imap server. ls -F says: archive/ incoming/ lost+found/ overview/ tradspool.map articles/ innfeed/ outgoing/ tmp@
mount | grep spool on the imap server says:
/var/spool/news on nnrp:/export/news read only/nosuid/remote on Sun Feb 11 12:05:29 2001
Krzys Majewski <kr...@cs.mcgill.ca> writes: > I would like to share the state of my newsreading (i.e. .newsrc) > between home and work. Apparently it is possible to read news via > IMAP. Supposedly Pine can do this. The relevant bits of my ~/.pinerc > follow. The truth is I'm not so much interested in Pine as I am in > IMAP. The long-term plan is to read the news with Gnus, but via an > IMAP backend. This post has continuity problems. Erh. Ok, so I've set > up a news collection using Pine, but I don't see any news when I enter > it, just a screen that says "Folders on imap.cs.ubc.ca in #public/" > but no folders. If I try to create a folder called "comp.mail.pine" I > get a message:
> I don't know if the problem is in the setup of the imap server, or my > config file, but in principle I have access to both, so let me know..
> -chris
> ----------------.pinerc---------------------------- > # nntp-server= > # Yes I know the following is not my news server, but if > # I put in the news server, it tries to connect to port 143 on > # that machine, and fails. It looks like /usr/lib/news and > # usr/spool/news exist also on the machine called 'imap', so it should > # be all good, right? > news-collections={imap.cs.ubc.ca}[*] > newsrc-path=/grads2/majewski/.newsrc > # news-active-file-path= > # news-spool-directory=
On 02/11/01 at 11:56am -0800, Krzys Majewski <kr...@cs.mcgill.ca> wrote:
> I would like to share the state of my newsreading (i.e. .newsrc) > between home and work. Apparently it is possible to read news via > IMAP. Supposedly Pine can do this.
The only way I know of to do this is to use the following syntax, which may be UW-IMAP specific, and probably won't work with other newsreaders without patching them. (In other words, I don't think this is a standard, at least not yet.)
Mark: could you update us on the status of your news-via-imap project, and how this method relates to what you eventually plan to implement? Thanks.
-- Scott Leibrand leibrand+use...@u.washington.edu (Yes, that is a valid address.) http://students.washington.edu/leibrand * Opinions expressed are mine. Everyone else can get their own. :) * * RCW 19.190 notice: This email address is located in Washington State. * * Unsolicited commercial email may be billed $500 per message. *
Scott Leibrand <leibrand+use...@u.washington.edu> writes: > On 02/11/01 at 11:56am -0800, Krzys Majewski <kr...@cs.mcgill.ca> wrote:
> > I would like to share the state of my newsreading (i.e. .newsrc) > > between home and work. Apparently it is possible to read news via > > IMAP. Supposedly Pine can do this.
> The only way I know of to do this is to use the following syntax, which > may be UW-IMAP specific, and probably won't work with other newsreaders > without patching them. (In other words, I don't think this is a standard, > at least not yet.)
> Mark: could you update us on the status of your news-via-imap project, and > how this method relates to what you eventually plan to implement? Thanks.
> -- > Scott Leibrand > leibrand+use...@u.washington.edu (Yes, that is a valid address.) > http://students.washington.edu/leibrand > * Opinions expressed are mine. Everyone else can get their own. :) * > * RCW 19.190 notice: This email address is located in Washington State. * > * Unsolicited commercial email may be billed $500 per message. *
On 02/12/01 at 11:24am -0800, Krzys Majewski <majew...@cs.ubc.ca> wrote:
> Scott Leibrand <leibrand+use...@u.washington.edu> writes:
> > The only way I know of to do this is to use the following syntax, which > > may be UW-IMAP specific, and probably won't work with other newsreaders > > without patching them. (In other words, I don't think this is a standard, > > at least not yet.)
> [Bad context, No '[' in context : {imap.cs.ubc.ca/user=majewski}{news.cs.ubc.ca...
> This is Pine 4.21 and IMAP4rev1 v12.264.
My guess is your IMAP server doesn't support that syntax, then. If you can find out what brand your IMAP server is, you might post that information to comp.mail.pine and/or comp.mail.imap and ask if it supports that syntax. All I really know is it works with the UW-IMAP server at bp15.u.washington.edu.
-- Scott Leibrand leibrand+p...@u.washington.edu (Yes, that is a valid address.) http://students.washington.edu/leibrand * Opinions expressed are mine. Everyone else can get their own. :) * * RCW 19.190 notice: This email address is located in Washington State. * * Unsolicited commercial email may be billed $500 per message. *
> SELECT failed: Unable to scan newsgroup spool directory
That error message means that whatever directory is configured as NEWSSPOOL in the IMAP server is unreadable.
You need to rebuild the IMAP server so that NEWSSPOOL and ACTIVEFILE point to the correct locations (in the imap-2000/src/osdep/unix/Makefile). I'm guessing that the correct definition on your system is /usr/spool/news/articles; it's whatever directory contains "comp", "misc", "news", "rec", "sci", and "soc" -- that is, the root of the news article namespace.
If you don't use IMAP, you can configure the news spool directory directly from Pine.
Scott Leibrand's suggestion has to do with using an IMAP->NNTP proxy, which is not relevant to your situation.