From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72746 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Debugging Emacs Gnus to determine the starttls command working with No Gnus Date: Thu, 07 Oct 2010 22:06:10 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <7b53d541c6e42c68a4855cbf60d17682@hcoop.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286482000 21584 80.91.229.12 (7 Oct 2010 20:06:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 20:06:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21119@lists.math.uh.edu Thu Oct 07 22:06:38 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 1P3wjc-0006Vx-3F for ding-account@gmane.org; Thu, 07 Oct 2010 22:06:36 +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 1P3wja-0005UX-IW; Thu, 07 Oct 2010 15:06:34 -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 1P3wjZ-0005UG-3C for ding@lists.math.uh.edu; Thu, 07 Oct 2010 15:06:33 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P3wjU-0005AV-Sk for ding@lists.math.uh.edu; Thu, 07 Oct 2010 15:06:32 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P3wjU-0000TT-00 for ; Thu, 07 Oct 2010 22:06:28 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P3wjT-0006T1-JE for ding@gnus.org; Thu, 07 Oct 2010 22:06:27 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 22:06:27 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 22:06:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXFxbRhYlfl49Wlppb4 +PA3NzCBg3VyBxIiAAACSUlEQVQ4jU2UMY/bMAyFeXaQnTWsWdAZnZWo0BzkhO4alDmqEP7/n9BH 2umVCBxbX6hHPouhYnEvGy7hzE7GqZRQCulyWyvAPYQLsxtx01UD96ulBd9bdSOFkLYdfGWkl+0+ r605SVevAHuXm12LgSoppXEADXz7MwBEksjpG9wBLmt7DNG4FgrbP/D5am2kZGD7BiFAoj6JBM08 J4AQ7kWvaG99RKLMIi7SFI7wdOF1iRQTMpjpTTylF6+D5pReTvpKRD54W0fbzUCvwgpo8lOgOb9a rShqB43eMWdtGyArWBvNx3qSdoAhrSMjRQMpdwUi2l9zBhQhgXeA6AZMDoFt30AzmORY153gLXfL EIAx/gMVXf8DmiPyanuAKOiELcfIWSXWuucoELL6ELB8rVYBywHyAZjhN2tOexwg78V3HpmtiEUB XvIOhnDKqqDOZNoVBO6gNoBF0ArqBGCrfW2R1HIcnqE3xGxdfYMZ3s3xAFpVxfOsP9eIM6G49gbq fgw4BcoOGwD0OSU7GzvgtapG3YrHe5n02OOG1BuIGAh+/pg2HRQAdqnDi84PAOzxx4CKLwrwAcAJ o6jD6KHBS4J7ILpV8NPH6Q1gnPrKbCB8/tBptIwd9GpzG8LTxtQy1C6ob+XrCjDe4Dmrt9LdqdzG tAMVcdfPrDMkDNXLspVs/xEKYBASxGHhJ08GbpkVRKgY2H6P53aeMC6fBmhGf07BV5pzxnjK6LRM qPmsFU/ldLuM7HSoktASfJp87uxi/nWLmR96YvP4C64H88q79CEqAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: The Cure's _Faith (1)_: "Primary" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:rnqij3YkkkiPRPMeMFPVDoM+BQE= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72746 Archived-At: JJ writes: > (setq gnus-select-method '(nnnil)) > (setq gnus-secondary-select-methods '((nnimap "mail.hcoop.net" > (nnimap-address "mail.hcoop.net") > (nnir-search-engine imap)))) This probably means that you're using TLS and not STARTTLS, so tls-program is used. > 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. Since it's TLS, it's port 993. If you want STARTTLS, you should probably say `(nnimap-stream starttls)', which will make it connect to the normal imap port instead of imaps. nnimap should do some probing, however, to automate this. > 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? gnutls-cli is probably failing because you're not using --insecure, so it's falling through to the openssl s_client, would be my guess. Do you have that installed? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen