all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jonathan Marten <jjm@keelhaul.me.uk>
Cc: 24704@debbugs.gnu.org
Subject: bug#24704: 24.5; nnimap: anonymous login to IMAP server not working
Date: Thu, 12 Apr 2018 22:25:14 +0200	[thread overview]
Message-ID: <87efjkmatx.fsf@mouse.gnus.org> (raw)
In-Reply-To: <1869270.bxo84pOxvy@keelhaul> (Jonathan Marten's message of "Sun,  16 Oct 2016 06:06:19 +0100")

Jonathan Marten <jjm@keelhaul.me.uk> writes:

> Stepping through nnimap-login in nnimap.el shows that the parameters passed to 
> it are user="anonymous", password=(email address).  The problem seems to be 
> that nnimap-authenticator=anonymous is not handled by any of the conditions in 
> this function, so no login is sent.  Applying the patch:
>
> --- /usr/share/emacs/24.5/lisp/gnus/nnimap.el   2015-04-02 08:23:06.000000000 
> +0100
> +++ nnimap.el   2016-10-16 05:53:16.043526259 +0100
> @@ -504,6 +504,7 @@
>     ((and (not (nnimap-capability "LOGINDISABLED"))
>          (eq (nnimap-stream-type nnimap-object) 'tls)
>          (or (null nnimap-authenticator)
> +            (eq nnimap-authenticator 'anonymous)

(etc)

Thanks; applied to Emacs 27.1.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2018-04-12 20:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-16  5:06 bug#24704: 24.5; nnimap: anonymous login to IMAP server not working Jonathan Marten
2018-04-12 20:25 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efjkmatx.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=24704@debbugs.gnu.org \
    --cc=jjm@keelhaul.me.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.