From 1ef3c012fc8144bb647829c6897e7d43d1916f6e Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 2 Jul 2000 10:13:13 +0000 Subject: [PATCH] (nnimap-open-connection): Don't look up virtual server name in authinfo (.authinfo now support ports, no need for the hack). --- lisp/ChangeLog | 6 ++++++ lisp/nnimap.el | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f98996c9..82c267668 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2000-07-03 Simon Josefsson + + * nnimap.el (nnimap-open-connection): Don't look up virtual server + name in authinfo (.authinfo now support ports, no need for the + hack). + 2000-07-03 Paul Stodghill * message.el (message-unquote-tokens): Remove all quotes. diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 699ef5d8d..8812e82b9 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -541,8 +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 (or (gnus-netrc-machine list server port "imap") - (gnus-netrc-machine list nnimap-address port "imap"))) + (alist (gnus-netrc-machine list (or nnimap-address server) + port "imap")) (user (gnus-netrc-get alist "login")) (passwd (gnus-netrc-get alist "password"))) (if (imap-authenticate user passwd nnimap-server-buffer) -- 2.25.1