Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

news via IMAP

21 views
Skip to first unread message

Krzys Majewski

unread,
Feb 11, 2001, 2:56:44 PM2/11/01
to
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:

[CREATE failed: Can't create #public/comp.mail.pine: invalid name]

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=

Krzys Majewski

unread,
Feb 11, 2001, 3:36:27 PM2/11/01
to
OK, I've changed

news-collections={imap.cs.ubc.ca}[*]

to

news-collections={imap.cs.ubc.ca}[]

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

(/usr/spool is a symlink to /var/spool).

Any ideas? -chris

Scott Leibrand

unread,
Feb 11, 2001, 6:02:21 PM2/11/01
to Krzys Majewski, Mark Crispin
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.)

news-collections="Nickname" {my.imap.server/user=myusername}{my.news.server/nntp}#news.[]

The /user= flag is optional, of course.

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
leibran...@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. *

Krzys Majewski

unread,
Feb 12, 2001, 2:25:54 PM2/12/01
to
I just tried this. When I start pine, I get:

[Bad context, No '[' in context: {imap.cs.ubc.ca/user=majewski}{news.cs.ubc.ca ...

This is Pine 4.21 and IMAP4rev1 v12.264.

-chris

Scott Leibrand

unread,
Feb 12, 2001, 2:46:29 PM2/12/01
to
On 02/12/01 at 11:24am -0800, Krzys Majewski <maje...@cs.ubc.ca> wrote:

> Scott Leibrand <leibran...@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.)
> >
> > news-collections="Nickname" {my.imap.server/user=myusername}{my.news.server/nntp}#news.[]
>

> I just tried this. When I start pine, I get:
>
> [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
leibra...@u.washington.edu (Yes, that is a valid address.)

Mark Crispin

unread,
Feb 12, 2001, 11:32:39 PM2/12/01
to Krzys Majewski
On 11 Feb 2001, Krzys Majewski wrote:
> 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.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.


0 new messages