[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: nnimap 0.98 second server doesn't work



Osma Ahvenlampi <oa-lists@spray.fi> writes:

> I have gnus-primary-select method and one of
> gnus-secondary-select-methods configured for nnimap, two accounts on
> the same server, accessed via SSL. This worked with 0.97, but with
> 0.98 I can not access the second account. Apparently gethostname
> lookup fails again (I saw this bug with old nnimap versions).

Could you attach some debug spews from *nnimap-debug*?  I think Gnus
hand over a distorted select method to nnimap, containing the virtual
server name as the server hostname.

Try this patch against gnus. It's not a proper patch, it's
`gnus-server-extend-method' that's buggy but I can't figure out what
the heck that function is good for (hence hard to debug) so this just
removes the call to it. Don't forget to recompile all of Gnus.

--- /tmp/jas/pgnus-0.83/lisp/gnus.el    Sun Apr 18 14:44:09 1999
+++ pgnus-0.83/lisp/gnus.el     Sat May  1 17:56:28 1999
@@ -2724,8 +2724,6 @@
          (setq method
                (cond ((stringp method)
                       (inline (gnus-server-to-method method)))
-                     ((stringp (cadr method))
-                      (inline (gnus-server-extend-method group method)))
                      (t
                       method)))
          (cond ((equal (cadr method) "")