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

Re: new user with problems :)



Julio Barreiro Barreiro <julio.barreiro@cern.ch> writes:

> Hi, thanks for supporting IMAP. 
> I download your latest version and I got a message of couldn't open server.
> Here is my config:
> <snip>

You have the same problem I had.  The nnimap-0.3.14 checks the
CAPABILITY string returned by the server. It checks for a symbol
in the string which matches IMAP4.  Your server, and mine, is
returning IMAP4rev1 which doesn't match.  I hacked nnimap.el...


		(unless (and (nnimap-ok-p (nnimap-send-command-wait 
					   "CAPABILITY" nnimap-server-buffer))
			     (memq 'IMAP4rev1 (imap-capability-get
					   nnimap-server-buffer)))
		  (imap-close-server nnimap-server-buffer)
		  (message "Sorry, this is not a IMAP4 server.")
		  (sit-for 2)
		  (error))

Hope this helps.
-- 
Donald Hunter