(nnimap-open-connection): Look for nnimap-server-address in authinfo.
authorSimon Josefsson <jas@extundo.com>
Sun, 2 Jul 2000 15:48:59 +0000 (15:48 +0000)
committerSimon Josefsson <jas@extundo.com>
Sun, 2 Jul 2000 15:48:59 +0000 (15:48 +0000)
lisp/ChangeLog
lisp/nnimap.el

index 8e5fbb0..9f57d02 100644 (file)
@@ -4,6 +4,7 @@
        name in authinfo (.authinfo now support ports, no need for the
        hack).
        (nnimap-split-find-rule): Fix.
+       (nnimap-open-connection): Look for nnimap-server-address in authinfo.
 
 2000-07-03  Paul Stodghill <stodghil@CS.Cornell.EDU>
 
index d02ccf4..6ec8204 100644 (file)
@@ -541,7 +541,8 @@ If EXAMINE is non-nil the group is selected read-only."
           (port (if nnimap-server-port
                     (int-to-string nnimap-server-port)
                   "imap"))
-          (alist (gnus-netrc-machine list (or nnimap-address server)
+          (alist (gnus-netrc-machine list (or nnimap-server-address 
+                                               nnimap-address server)
                                       port "imap"))
           (user (gnus-netrc-get alist "login"))
           (passwd (gnus-netrc-get alist "password")))