Gnus development mailing list
 help / color / mirror / Atom feed
* Current git HEAD nnimap doesn't do cram-md5 auth
@ 2011-01-01 14:51 Steinar Bang
  2011-01-01 15:14 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Steinar Bang @ 2011-01-01 14:51 UTC (permalink / raw)
  To: ding

I just noticed today that Gnus nnimap only did PLAIN authentication
against dovecot.  When I disabled PLAIN completely on the dovecot, it
said:
 Warning: Opening nnimap server on privat...failed: NO (ALERT) Unsupported authentication mechanism.

Is this because the CAPABILITY lacks on dovecot? (how do I run
nnimap-capabilities interactively? I couldn't even find where it's
defined... `C-h f' sayis it is nnimap.el, but neither TAGS, nor grep,
nor occur can find where it is defined...)

Or is it some setting missing from my nnimap settings?

Here's my select method (anonymized to protect the innocent):
        (nnimap "privat"
		(nnimap-address "imap.mydomain.no")
                (nnimap-stream ssl))




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-01 14:51 Current git HEAD nnimap doesn't do cram-md5 auth Steinar Bang
@ 2011-01-01 15:14 ` Andreas Schwab
  2011-01-01 16:47   ` Steinar Bang
  2011-01-01 17:01 ` Steinar Bang
  2011-01-02  4:47 ` Current git HEAD nnimap doesn't do cram-md5 auth Lars Magne Ingebrigtsen
  2 siblings, 1 reply; 29+ messages in thread
From: Andreas Schwab @ 2011-01-01 15:14 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> (how do I run nnimap-capabilities interactively?

Try ielm.

> I couldn't even find where it's defined... `C-h f' sayis it is
> nnimap.el, but neither TAGS, nor grep, nor occur can find where it is
> defined...)

(defstruct nnimap
  group process commands capabilities select-result newlinep server
  last-command-time greeting examined)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-01 15:14 ` Andreas Schwab
@ 2011-01-01 16:47   ` Steinar Bang
  2011-01-02  4:42     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-01 16:47 UTC (permalink / raw)
  To: ding

>>>>> Andreas Schwab <schwab@linux-m68k.org>:

> Steinar Bang <sb@dod.no> writes:
>> (how do I run nnimap-capabilities interactively?

> Try ielm.

The problem is what to give it as argument (an nnimap-object), not
actualy running it.

I thought I had run it from *scratch* at one point in time, but I was
unable to find it.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-01 14:51 Current git HEAD nnimap doesn't do cram-md5 auth Steinar Bang
  2011-01-01 15:14 ` Andreas Schwab
@ 2011-01-01 17:01 ` Steinar Bang
  2011-01-01 17:10   ` Line-wrap on by default: how do I turn it off? (Was: Current git HEAD nnimap doesn't do cram-md5 auth) Steinar Bang
  2011-01-02  4:47 ` Current git HEAD nnimap doesn't do cram-md5 auth Lars Magne Ingebrigtsen
  2 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-01 17:01 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:

> I just noticed today that Gnus nnimap only did PLAIN authentication
> against dovecot.  When I disabled PLAIN completely on the dovecot, it
> said:
>  Warning: Opening nnimap server on privat...failed: NO (ALERT) Unsupported authentication mechanism.

I haven't found out what dovecot lists as capabilities, but here's what
it says in the log on the connect after I disabled PLAIN auth
(anonymized IP numbers):
 Jan  1 14:31:39 myhost dovecot: imap-login: Disconnected (tried to use unsupported auth mechanism): method=PLAIN, rip=192.168.226.192, lip=192.168.185.190, TLS: Disconnected

So it kind of looks like Gnus never tries anything other than PLAIN...?

I use ~/.authinfo to get usernames and passwords.




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Line-wrap on by default: how do I turn it off? (Was: Current git HEAD nnimap doesn't do cram-md5 auth)
  2011-01-01 17:01 ` Steinar Bang
@ 2011-01-01 17:10   ` Steinar Bang
  2011-01-01 20:19     ` Andreas Schwab
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-01 17:10 UTC (permalink / raw)
  To: ding

Hm... a long log line I sent looks like this when I read it back:
 Jan 1 14:31:39 myhost dovecot: imap-login: Disconnected (tried to use
unsupported auth mechanism): method=PLAIN, rip=192.168.226.192,
lip=192.168.185.190, TLS: Disconnected

`C-u g' reveals that the line is actually unbroken in the raw message.
So that means that `W u', or something like that, is in effect by
default.

How do I turn it off?  If I wanted it on by default, it would have been
there years ago.




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Line-wrap on by default: how do I turn it off? (Was: Current git HEAD nnimap doesn't do cram-md5 auth)
  2011-01-01 17:10   ` Line-wrap on by default: how do I turn it off? (Was: Current git HEAD nnimap doesn't do cram-md5 auth) Steinar Bang
@ 2011-01-01 20:19     ` Andreas Schwab
  2011-01-01 21:46       ` Line-wrap on by default: how do I turn it off? Steinar Bang
  0 siblings, 1 reply; 29+ messages in thread
From: Andreas Schwab @ 2011-01-01 20:19 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> How do I turn it off?

gnus-treat-fill-long-lines

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Line-wrap on by default: how do I turn it off?
  2011-01-01 20:19     ` Andreas Schwab
@ 2011-01-01 21:46       ` Steinar Bang
  2011-01-01 21:52         ` Steinar Bang
  2011-01-03  7:23         ` Reiner Steib
  0 siblings, 2 replies; 29+ messages in thread
From: Steinar Bang @ 2011-01-01 21:46 UTC (permalink / raw)
  To: ding

The behaviour seems to have been turned on by this change:

commit f2d0a4889766f0387f6423f52502ea4842f83846
Author: Lars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Date:   Sun Oct 31 22:06:08 2010 +0100

    Change default to all text/plain sections.

And the diff on the line in question, is:
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -1590,7 +1590,7 @@ predicate.  See Info node `(gnus)Customizing Articles'."
   :link '(custom-manual "(gnus)Customizing Articles")
   :type gnus-article-treat-custom)
 
-(defcustom gnus-treat-fill-long-lines nil
+(defcustom gnus-treat-fill-long-lines '(typep "text/plain")
   "Fill long lines.
 Valid values are nil, t, `head', `first', `last', an integer or a
 predicate.  See Info node `(gnus)Customizing Articles'."

So, a customize back to nil, should do the trick.  I will try.




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Line-wrap on by default: how do I turn it off?
  2011-01-01 21:46       ` Line-wrap on by default: how do I turn it off? Steinar Bang
@ 2011-01-01 21:52         ` Steinar Bang
  2011-01-03  7:23         ` Reiner Steib
  1 sibling, 0 replies; 29+ messages in thread
From: Steinar Bang @ 2011-01-01 21:52 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:

> The behaviour seems to have been turned on by this change:
... 
> -(defcustom gnus-treat-fill-long-lines nil
> +(defcustom gnus-treat-fill-long-lines '(typep "text/plain")
...
> So, a customize back to nil, should do the trick.  I will try.

Yep.  A customize of gnus-treat-fill-long-lines to nil made the long
lines show up again.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-01 16:47   ` Steinar Bang
@ 2011-01-02  4:42     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 29+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-02  4:42 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> I thought I had run it from *scratch* at one point in time, but I was
> unable to find it.

nnimap-object is local to each nnimap buffer, so you have to eval it
there. 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-01 14:51 Current git HEAD nnimap doesn't do cram-md5 auth Steinar Bang
  2011-01-01 15:14 ` Andreas Schwab
  2011-01-01 17:01 ` Steinar Bang
@ 2011-01-02  4:47 ` Lars Magne Ingebrigtsen
  2011-01-02 13:20   ` Steinar Bang
  2 siblings, 1 reply; 29+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-02  4:47 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> I just noticed today that Gnus nnimap only did PLAIN authentication
> against dovecot. 

Yes.  Instead of implementing all of the gazillion different auth
methods, I was just waiting for people to complain, and then implement
them.  So far, out of all the different methods, people have only
requested AUTH=PLAIN, so I think it's a winning strategy.  :-)

So you have a server that actually only does cram-md5?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-02  4:47 ` Current git HEAD nnimap doesn't do cram-md5 auth Lars Magne Ingebrigtsen
@ 2011-01-02 13:20   ` Steinar Bang
  2011-01-02 19:35     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-02 13:20 UTC (permalink / raw)
  To: ding

>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>:

> So you have a server that actually only does cram-md5?

Indeed I do.  Always have, since I first set up an IMAP server of my
own.




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-02 13:20   ` Steinar Bang
@ 2011-01-02 19:35     ` Lars Magne Ingebrigtsen
  2011-01-02 21:33       ` Steinar Bang
  0 siblings, 1 reply; 29+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-02 19:35 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>> So you have a server that actually only does cram-md5?
>
> Indeed I do.  Always have, since I first set up an IMAP server of my
> own.

Ok, I'll implement the cram-md5 stuff, then.

But what's the point of cram-md5, though?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-02 19:35     ` Lars Magne Ingebrigtsen
@ 2011-01-02 21:33       ` Steinar Bang
  2011-01-02 21:41         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-02 21:33 UTC (permalink / raw)
  To: ding

>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>:

> But what's the point of cram-md5, though?

Login authentication without sending the actual clear text password over
the wire.






^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-02 21:33       ` Steinar Bang
@ 2011-01-02 21:41         ` Lars Magne Ingebrigtsen
  2011-01-19 21:59           ` Ted Zlatanov
  2012-09-13 18:48           ` Steinar Bang
  0 siblings, 2 replies; 29+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-02 21:41 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> Login authentication without sending the actual clear text password over
> the wire.

Doesn't everybody just use TLS/STARTTLS?

Anyway, it's implemented now.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Line-wrap on by default: how do I turn it off?
  2011-01-01 21:46       ` Line-wrap on by default: how do I turn it off? Steinar Bang
  2011-01-01 21:52         ` Steinar Bang
@ 2011-01-03  7:23         ` Reiner Steib
  2011-01-03  8:05           ` Steinar Bang
  2011-01-04  0:05           ` Line-wrap on by default: how do I turn it off? Lars Magne Ingebrigtsen
  1 sibling, 2 replies; 29+ messages in thread
From: Reiner Steib @ 2011-01-03  7:23 UTC (permalink / raw)
  To: ding

On Sat, Jan 01 2011, Steinar Bang wrote:

> Author: Lars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
> Date:   Sun Oct 31 22:06:08 2010 +0100
>
>     Change default to all text/plain sections.
>
> And the diff on the line in question, is:
> --- a/lisp/gnus-art.el
> +++ b/lisp/gnus-art.el
> @@ -1590,7 +1590,7 @@ predicate.  See Info node `(gnus)Customizing Articles'."
>    :link '(custom-manual "(gnus)Customizing Articles")
>    :type gnus-article-treat-custom)
>
> -(defcustom gnus-treat-fill-long-lines nil
> +(defcustom gnus-treat-fill-long-lines '(typep "text/plain")
>    "Fill long lines.

There should be a :version tag there.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Line-wrap on by default: how do I turn it off?
  2011-01-03  7:23         ` Reiner Steib
@ 2011-01-03  8:05           ` Steinar Bang
  2011-01-03 22:25             ` Version tags for customizable variables (was: Line-wrap on by default: how do I turn it off?) Reiner Steib
  2011-01-04  0:05           ` Line-wrap on by default: how do I turn it off? Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-03  8:05 UTC (permalink / raw)
  To: ding

>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:

> There should be a :version tag there.

Er... huh...?





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Version tags for customizable variables (was: Line-wrap on by default: how do I turn it off?)
  2011-01-03  8:05           ` Steinar Bang
@ 2011-01-03 22:25             ` Reiner Steib
  2011-01-03 22:31               ` Version tags for customizable variables Steinar Bang
  0 siblings, 1 reply; 29+ messages in thread
From: Reiner Steib @ 2011-01-03 22:25 UTC (permalink / raw)
  To: ding

On Mon, Jan 03 2011, Steinar Bang wrote:

>>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:
>
>> There should be a :version tag there.
>
> Er... huh...?

When the default value of a variable is changed (or a new customizable
variable is added) there should be a tag like ...

  :version "24.1"
 
See ...

,----[ <f1> f customize-changed RET ]
| customize-changed is an alias for `customize-changed-options' in
| `cus-edit.el'.
| (customize-changed SINCE-VERSION)
| 
| Customize all settings whose meanings have changed in Emacs itself.
| This includes new user option variables and faces, and new
| customization groups, as well as older options and faces whose meanings
| or default values have changed since the previous major Emacs release.
| 
| With argument SINCE-VERSION (a string), customize all settings
| that were added or redefined since that version.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Version tags for customizable variables
  2011-01-03 22:25             ` Version tags for customizable variables (was: Line-wrap on by default: how do I turn it off?) Reiner Steib
@ 2011-01-03 22:31               ` Steinar Bang
  2011-01-04  7:34                 ` Reiner Steib
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2011-01-03 22:31 UTC (permalink / raw)
  To: ding

>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:

> When the default value of a variable is changed (or a new customizable
> variable is added) there should be a tag like ...

I wasn't offering up a diff.  I was just digging up the change that had
changed the old behaviour.




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Line-wrap on by default: how do I turn it off?
  2011-01-03  7:23         ` Reiner Steib
  2011-01-03  8:05           ` Steinar Bang
@ 2011-01-04  0:05           ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 29+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-04  0:05 UTC (permalink / raw)
  To: ding

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> There should be a :version tag there.

Fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Version tags for customizable variables
  2011-01-03 22:31               ` Version tags for customizable variables Steinar Bang
@ 2011-01-04  7:34                 ` Reiner Steib
  0 siblings, 0 replies; 29+ messages in thread
From: Reiner Steib @ 2011-01-04  7:34 UTC (permalink / raw)
  To: ding

On Mon, Jan 03 2011, Steinar Bang wrote:

> I wasn't offering up a diff.  I was just digging up the change that had
> changed the old behaviour.

Sure.  I didn't expect _you_ to fix it.  Why I sent it to the list.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-02 21:41         ` Lars Magne Ingebrigtsen
@ 2011-01-19 21:59           ` Ted Zlatanov
  2012-09-13 18:48           ` Steinar Bang
  1 sibling, 0 replies; 29+ messages in thread
From: Ted Zlatanov @ 2011-01-19 21:59 UTC (permalink / raw)
  To: ding

On Sun, 02 Jan 2011 22:41:10 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Steinar Bang <sb@dod.no> writes:
>> Login authentication without sending the actual clear text password over
>> the wire.

LMI> Doesn't everybody just use TLS/STARTTLS?

I think CRAM-MD5 predated such fancies.

Ted




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2011-01-02 21:41         ` Lars Magne Ingebrigtsen
  2011-01-19 21:59           ` Ted Zlatanov
@ 2012-09-13 18:48           ` Steinar Bang
  2012-09-13 19:51             ` Steinar Bang
  2012-12-24 20:46             ` Lars Ingebrigtsen
  1 sibling, 2 replies; 29+ messages in thread
From: Steinar Bang @ 2012-09-13 18:48 UTC (permalink / raw)
  To: ding

>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> said on Sun, 02 Jan 2011:

[About cram-md5 auth for nnimap]

> Doesn't everybody just use TLS/STARTTLS?

> Anyway, it's implemented now.

And this worked well for 23 days...

Unfortunately on January 25 2011, this commit came and broke it...:-/

commit f842d586ed445171f1efac765755f17ae9f94d19
Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
Date:   Tue Jan 25 13:58:22 2011 -0800

    Prefer plain LOGIN if it's enabled and we're using an encrypted connection.

But I prefer CRAM-MD5 always, whether the connection is encrypted or
not.

However, if I disable PLAIN, then the iPad mail client (not my iPad)
isn't able to connect...:-(




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-09-13 18:48           ` Steinar Bang
@ 2012-09-13 19:51             ` Steinar Bang
  2012-09-13 20:04               ` Steinar Bang
  2012-12-24 20:46             ` Lars Ingebrigtsen
  1 sibling, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2012-09-13 19:51 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:

> But I prefer CRAM-MD5 always, whether the connection is encrypted or
> not.

> However, if I disable PLAIN, then the iPad mail client (not my iPad)
> isn't able to connect...:-(

Anyway... removing PLAIN from dovecot didn't make nnimap switch to
CRAM-MD5:
 Sep 13 20:46:38 myhost dovecot: imap-login: Disconnected (tried to use unsupported auth mechanism): method=PLAIN, rip=<removed>, lip=<removed>, TLS: Disconnected





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-09-13 19:51             ` Steinar Bang
@ 2012-09-13 20:04               ` Steinar Bang
  2012-09-13 20:28                 ` Steinar Bang
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2012-09-13 20:04 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:

> Anyway... removing PLAIN from dovecot didn't make nnimap switch to
> CRAM-MD5:
>  Sep 13 20:46:38 myhost dovecot: imap-login: Disconnected (tried to use unsupported auth mechanism): method=PLAIN, rip=<removed>, lip=<removed>, TLS: Disconnected

Reverting commit f842d586ed445171f1efac765755f17ae9f94d19 made CRAM-MD5
work again.






^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-09-13 20:04               ` Steinar Bang
@ 2012-09-13 20:28                 ` Steinar Bang
  0 siblings, 0 replies; 29+ messages in thread
From: Steinar Bang @ 2012-09-13 20:28 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:
>>>>> Steinar Bang <sb@dod.no>:

>> Anyway... removing PLAIN from dovecot didn't make nnimap switch to
>> CRAM-MD5:
>> Sep 13 20:46:38 myhost dovecot: imap-login: Disconnected (tried to use unsupported auth mechanism): method=PLAIN, rip=<removed>, lip=<removed>, TLS: Disconnected

> Reverting commit f842d586ed445171f1efac765755f17ae9f94d19 made CRAM-MD5
> work again.

And I can also keep PLAIN enabled so that the iPad will work, while Gnus
now uses CRAM-MD5.

On a side note, I just found out that iPad2 with iOS 4 have no NTP
option (I noticed that the clock on the iPad was off).  Quite amazing
really....




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-09-13 18:48           ` Steinar Bang
  2012-09-13 19:51             ` Steinar Bang
@ 2012-12-24 20:46             ` Lars Ingebrigtsen
  2012-12-24 23:13               ` Steinar Bang
  1 sibling, 1 reply; 29+ messages in thread
From: Lars Ingebrigtsen @ 2012-12-24 20:46 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>     Prefer plain LOGIN if it's enabled and we're using an encrypted
>     connection.
>
> But I prefer CRAM-MD5 always, whether the connection is encrypted or
> not.

What's the advantage of CRAM-MD5 over PLAIN over encrypted connections?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-12-24 20:46             ` Lars Ingebrigtsen
@ 2012-12-24 23:13               ` Steinar Bang
  2012-12-25 11:40                 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 29+ messages in thread
From: Steinar Bang @ 2012-12-24 23:13 UTC (permalink / raw)
  To: ding

>>>>> Lars Ingebrigtsen <larsi@gnus.org>:

> What's the advantage of CRAM-MD5 over PLAIN over encrypted connections?

It's an extra layer of safety.

Even if the encryption is broken, the password isn't revealed.  What you
see is useless for replay attacks.








^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-12-24 23:13               ` Steinar Bang
@ 2012-12-25 11:40                 ` Lars Ingebrigtsen
  2012-12-29  8:20                   ` Steinar Bang
  0 siblings, 1 reply; 29+ messages in thread
From: Lars Ingebrigtsen @ 2012-12-25 11:40 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>> What's the advantage of CRAM-MD5 over PLAIN over encrypted connections?
>
> It's an extra layer of safety.
>
> Even if the encryption is broken, the password isn't revealed.  What you
> see is useless for replay attacks.

Right.

I've now expanded `nnimap-authentication' to allow specifying the login
method to be used.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Current git HEAD nnimap doesn't do cram-md5 auth
  2012-12-25 11:40                 ` Lars Ingebrigtsen
@ 2012-12-29  8:20                   ` Steinar Bang
  0 siblings, 0 replies; 29+ messages in thread
From: Steinar Bang @ 2012-12-29  8:20 UTC (permalink / raw)
  To: ding

>>>>> Lars Ingebrigtsen <larsi@gnus.org>:

> I've now expanded `nnimap-authentication' to allow specifying the login
> method to be used.

I've verified that it works.

Thanks!




^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2012-12-29  8:20 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-01 14:51 Current git HEAD nnimap doesn't do cram-md5 auth Steinar Bang
2011-01-01 15:14 ` Andreas Schwab
2011-01-01 16:47   ` Steinar Bang
2011-01-02  4:42     ` Lars Magne Ingebrigtsen
2011-01-01 17:01 ` Steinar Bang
2011-01-01 17:10   ` Line-wrap on by default: how do I turn it off? (Was: Current git HEAD nnimap doesn't do cram-md5 auth) Steinar Bang
2011-01-01 20:19     ` Andreas Schwab
2011-01-01 21:46       ` Line-wrap on by default: how do I turn it off? Steinar Bang
2011-01-01 21:52         ` Steinar Bang
2011-01-03  7:23         ` Reiner Steib
2011-01-03  8:05           ` Steinar Bang
2011-01-03 22:25             ` Version tags for customizable variables (was: Line-wrap on by default: how do I turn it off?) Reiner Steib
2011-01-03 22:31               ` Version tags for customizable variables Steinar Bang
2011-01-04  7:34                 ` Reiner Steib
2011-01-04  0:05           ` Line-wrap on by default: how do I turn it off? Lars Magne Ingebrigtsen
2011-01-02  4:47 ` Current git HEAD nnimap doesn't do cram-md5 auth Lars Magne Ingebrigtsen
2011-01-02 13:20   ` Steinar Bang
2011-01-02 19:35     ` Lars Magne Ingebrigtsen
2011-01-02 21:33       ` Steinar Bang
2011-01-02 21:41         ` Lars Magne Ingebrigtsen
2011-01-19 21:59           ` Ted Zlatanov
2012-09-13 18:48           ` Steinar Bang
2012-09-13 19:51             ` Steinar Bang
2012-09-13 20:04               ` Steinar Bang
2012-09-13 20:28                 ` Steinar Bang
2012-12-24 20:46             ` Lars Ingebrigtsen
2012-12-24 23:13               ` Steinar Bang
2012-12-25 11:40                 ` Lars Ingebrigtsen
2012-12-29  8:20                   ` Steinar Bang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).