From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81616 Path: news.gmane.org!not-for-mail From: "Sebastian P. Luque" Newsgroups: gmane.emacs.gnus.general Subject: starttls for gmail SMTP doesn't start Date: Fri, 16 Mar 2012 16:34:21 -0500 Organization: University of Manitoba Message-ID: <87fwd8w7qa.fsf@kolob.subpolar.dyndns.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1331933748 24180 80.91.229.3 (16 Mar 2012 21:35:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Mar 2012 21:35:48 +0000 (UTC) To: ding@lists.math.uh.edu Original-X-From: ding-owner+M29896@lists.math.uh.edu Fri Mar 16 22:35:47 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S8eoK-0005qJ-AY for ding-account@gmane.org; Fri, 16 Mar 2012 22:35:44 +0100 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 1S8en8-0002ib-7W; Fri, 16 Mar 2012 16:34:30 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S8en6-0002iR-In for ding@lists.math.uh.edu; Fri, 16 Mar 2012 16:34:28 -0500 Original-Received: from idcmail-mo2no.shaw.ca ([64.59.134.9]) by mx1.math.uh.edu with esmtp (Exim 4.76) (envelope-from ) id 1S8en5-00046s-Kx for ding@lists.math.uh.edu; Fri, 16 Mar 2012 16:34:28 -0500 Original-Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd5ml1no-ssvc.prod.shaw.ca) ([10.0.144.222]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 16 Mar 2012 15:34:22 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=bD0CuDYpMgGTku+nVSbZuKP/9fNjspX1F8zuwcoBWhM= c=1 sm=1 a=F0HhOJWMmYsA:10 a=swWJ_NgMCHUA:10 a=nDghuxUhq_wA:10 a=BLceEmwcHowA:10 a=R8bR7SOy7fT8Qf/Knt2qqA==:17 a=pGLkceISAAAA:8 a=1XWaLZrsAAAA:8 a=vKDgRzW8UrvyaetbS80A:9 a=5LcjQQCPsmT5RW9YJPcA:7 a=yrdKorcb5bwA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Original-Received: from unknown (HELO kolob.subpolar.dyndns.org) ([50.71.33.126]) by pd5ml1no-dmz.prod.shaw.ca with ESMTP; 16 Mar 2012 15:34:22 -0600 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Mail-Followup-To: ding@lists.math.uh.edu X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81616 Archived-At: Hi, With GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-29 on trouble, modified by Debian, Gnus v5.13, and this set up for sending mail via Gmail's SMTP server: (setq nnimap-authinfo-file "~/.authinfo.gpg" send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it smtpmail-auth-credentials nnimap-authinfo-file smtpmail-smtp-service 587 smtpmail-default-smtp-server "smtp.gmail.com" smtpmail-starttls-credentials '((smtpmail-default-smtp-server smtpmail-smtp-service nil nil)) smtpmail-debug-info t smtpmail-debug-verb t) ,-----[ C-h v starttls-use-gnutls RET ] | starttls-use-gnutls is a variable defined in `starttls.el'. | Its value is t | | Documentation: | *Whether to use GNUTLS instead of the `starttls' command. | | You can customize this variable. | | This variable was introduced, or its default value was changed, in | version 22.1 of Emacs. | | [back] `----- ,-----[ C-h v starttls-gnutls-program RET ] | starttls-gnutls-program is a variable defined in `starttls.el'. | Its value is "gnutls-cli" | | This variable is potentially risky when used as a file local variable. | | Documentation: | Name of GNUTLS command line tool. | This program is used when GNUTLS is used, i.e. when | `starttls-use-gnutls' is non-nil. | | You can customize this variable. | | This variable was introduced, or its default value was changed, in | version 22.1 of Emacs. | | [back] `----- I get this in *Messages*: ---<--------------------cut here---------------start------------------->--- Sending... Sending via mail... 220 mx.google.com ESMTP wf10sm476861igb.8 250-mx.google.com at your service, [50.71.33.126] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250 ENHANCEDSTATUSCODES 530 5.7.0 Must issue a STARTTLS command first. wf10sm476861igb.8 smtpmail-send-it: Sending failed; SMTP protocol error ---<--------------------cut here---------------end--------------------->--- To investigate, I did 'M-x debug-on-entry starttls-open-stream', and never got the debugger, so I assume the function never got called. Any idea what might be going on? Cheers, -- Seb