[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems setting up nnimap 0.129 with pgnus 0.96



I'm trying to get pgnus set up to use nnimap to read mail.  I've
read through the nnimap manual, set up what I think I need to get
it working, but my IMAP server never shows up in the Group
buffer.  In fact, as far as I can tell, it's never even contacted
as I get no *imap-log* buffer.

Here's what I added to my .emacs:

(setq load-path (cons
    		 (expand-file-name "~/lib/lisp/pgnus-0.96/lisp")
    		 load-path))
(setq load-path (cons
		 (expand-file-name "~/lib/lisp/nnimap-0.129")
		 load-path))

(setq gnus-secondary-select-methods
      '(
	(nnml "spool")
	(nnimap "imap"
		(nnimap-address "localhost")
		(nnimap-server-port "10143")
		)
	))
(require 'nnimap)

I'm using ssh to get to the IMAP server, thus the
localhost:10143, but I've tried it with the real hostname and
port to no avail.

When I fire up pgnus, I'm never asked for my IMAP username and
password, and though my local mail spool does show up in the
Group buffer, due to the nnml select method, no IMAP server shows
up, and, as I've said, no *imap-log* buffer gets created.  The
only info I get in the *nnimap-debug* buffer is:

======================================================================
1 -> nnimap-server-opened: server="imap"
1 <- nnimap-server-opened: nil
======================================================================
1 -> nnimap-open-server: server="imap" defs=((nnimap-address "localhost") (nnimap-server-port "10143"))
| 2 -> nnimap-server-opened: server="imap"
| 2 <- nnimap-server-opened: nil
| 2 -> nnimap-open-connection: server="imap"
| 2 <- nnimap-open-connection: nil
1 <- nnimap-open-server: nil
======================================================================
1 -> nnimap-server-opened: server="imap"
1 <- nnimap-server-opened: nil
======================================================================
1 -> nnimap-group-mode-hook: 
1 <- nnimap-group-mode-hook: gnus-group-nnimap-expunge

I have used the functions in imap.el directly to connect to my
IMAP server and check for recent messages, so I know imap.el can
get to the server.  The problem seems to be getting pgnus and
nnimap to play together.

If anyone can provide any assistance I'd be greatly
appreciative.  Thanks in advance.

-- 
Chris Brierley