From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72698 Path: news.gmane.org!not-for-mail From: JJ Newsgroups: gmane.emacs.gnus.general Subject: Re: Debugging Emacs Gnus to determine the starttls command working with No Gnus Date: Wed, 6 Oct 2010 10:33:32 -0400 Message-ID: <7b53d541c6e42c68a4855cbf60d17682@hcoop.net> References: 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 1286375675 12393 80.91.229.12 (6 Oct 2010 14:34:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Oct 2010 14:34:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21070@lists.math.uh.edu Wed Oct 06 16:34:34 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 1P3V4g-0006kX-PR for ding-account@gmane.org; Wed, 06 Oct 2010 16:34:31 +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 1P3V45-0001XS-6J; Wed, 06 Oct 2010 09:33:53 -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 1P3V43-0001XD-EY for ding@lists.math.uh.edu; Wed, 06 Oct 2010 09:33:51 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P3V3w-0006RX-Kx for ding@lists.math.uh.edu; Wed, 06 Oct 2010 09:33:48 -0500 Original-Received: from deleuze.hcoop.net ([69.90.123.67] ident=Debian-exim) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P3V3r-000274-00 for ; Wed, 06 Oct 2010 16:33:39 +0200 Original-Received: from deleuze.hcoop.net ([69.90.123.67] helo=mail.hcoop.net ident=roundcube) by deleuze.hcoop.net with esmtp (Exim 4.63) (envelope-from ) id 1P3V3k-0006Xk-C5 for ding@gnus.org; Wed, 06 Oct 2010 10:33:32 -0400 In-Reply-To: X-Sender: ding_gnus.org@sumou.com User-Agent: RoundCube Webmail/0.1-rc2 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72698 Archived-At: Lars Magne Ingebrigtsen writes: > But are you using starttls or tls? > > For starttls, this is controlled by starttls-gnutls-program and > friends. For tls, it's tls-program. And in Emacs 24, we'll soon have > built-in tls support, so there will be no external program at all. :-) The thing is I don't know what it's using, that's what I'm trying to find out. I've got the following: (setq gnus-select-method '(nnnil)) (setq gnus-secondary-select-methods '((nnimap "mail.hcoop.net" (nnimap-address "mail.hcoop.net") (nnir-search-engine imap)))) So I assume it's using tls; tls-program is ("gnutls-cli -p %p %h" "gnutls-cli -p %p %h --protocols ssl3" "openssl s_client -connect %h:%p -no_ssl2 -ign_eof") which means I have it set to default, i.e. hasn't been modified by anything. And that's what I need to decipher, which of these with which port the GNU Emacs Gnus uses to connect, as it connects. I've experimented from the CLI with various variants of ports etc., for instance I can connect without specifying any port, but not with 993 etc. I don't even know whether the Emacs Gnus uses the first option, or fails on it and some further one is working, as I can't get (meaning probably don't know how to get) a debugging trace showing me the command with which the Gnus is successfull in connecting, so I could force the Git Gnus checkout to use this specific combination, so that it would connect. I.e. `gnutls-cli -p imaps mail.hcoop.net', which the git version uses as a default fails, so Emacs gnus must be using something else. However, for instance I can connect with `gnutls-cli -p 443 mail.hcoop.net' from the commandline, however if I `(setq imap-port 443)' Gnus will not connect, even the Emacs Gnus, so clearly it isn't using this command or the port, having been set this way is passed to it differently. So how can I determine which command exactly it is using to connect, so that I may set it explicitly and can use the Git Gnus, until tls is used internally? -- JJ