From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73049 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] sieve-manage: use auth-source Date: Wed, 13 Oct 2010 17:34:31 +0200 Message-ID: <8762x6m7i0.fsf@gnu.org> References: <1286295391-12854-1-git-send-email-julien@danjou.info> <87vd5cvgkf.fsf@lifelogs.com> <874ocw1xnb.fsf@keller.adm.naquadah.org> <87hbgqma0z.fsf@inria.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1286984092 23525 80.91.229.12 (13 Oct 2010 15:34:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 15:34:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21421@lists.math.uh.edu Wed Oct 13 17:34:49 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P63Lq-0005dL-3w for ding-account@gmane.org; Wed, 13 Oct 2010 17:34:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P63Lo-0000mL-PX; Wed, 13 Oct 2010 10:34:44 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P63Ln-0000m6-9x for ding@lists.math.uh.edu; Wed, 13 Oct 2010 10:34:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P63Lm-0006VH-1w for ding@lists.math.uh.edu; Wed, 13 Oct 2010 10:34:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P63Ll-0000Rf-00 for ; Wed, 13 Oct 2010 17:34:41 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P63Lk-0005bJ-LC for ding@gnus.org; Wed, 13 Oct 2010 17:34:40 +0200 Original-Received: from yoda.fdn.fr ([80.67.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 17:34:40 +0200 Original-Received: from ludo by yoda.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 17:34:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 64 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: yoda.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?iso-8859-1?Q?Vend=E9miaire?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:EdFVAu40BhnH3j29BmwLe+V73H4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73049 Archived-At: Hello, Julien Danjou writes: > On Wed, Oct 13 2010, Ludovic Courtès wrote: [...] >> Connecting to that server on port 2000 shows this: >> >> Connected to imap.example.com. >> Escape character is '^]'. >> "IMPLEMENTATION" "dovecot" >> "SASL" "" > > This is not valid. The server is saying there's no way to SASL method to > authenticate with. Ooh, it’s actually more subtle than this: the PLAIN authentication method becomes available once a TLS session has been negotiated: --8<---------------cut here---------------start------------->8--- $ gnutls-cli --starttls -p 2000 imap.example.com Resolving 'imap.example.com'... - Simple Client Mode: "IMPLEMENTATION" "dovecot" "SASL" "" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify include envelope body relational regex subaddress copy" "STARTTLS" "RENAME" OK "mail server - Dovecot ready." STARTTLS OK "Begin TLS negotiation now." *** Starting TLS handshake - Ephemeral Diffie-Hellman parameters - Using prime: 1024 bits - Secret key: 1021 bits - Peer's public key: 1023 bits - Certificate type: X.509 - Got a certificate list of 1 certificates. - Certificate[0] info: - subject `...’ - The hostname in the certificate matches 'imap.example.com'. - Peer's certificate issuer is unknown - Peer's certificate is NOT trusted - Version: TLS1.0 - Key Exchange: DHE-RSA - Cipher: AES-128-CBC - MAC: SHA1 - Compression: NULL "IMPLEMENTATION" "dovecot" "SASL" "PLAIN" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify include envelope body relational regex subaddress copy" "RENAME" OK "TLS negotiation successful." --8<---------------cut here---------------end--------------->8--- Apparently ‘manage-sieve’ in Gnus git supports starttls, so I’ll give it a try. Thanks, Ludo’.