From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80825 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: Use of gnutls-cli breaks new verizon setting Date: Sat, 07 Jan 2012 09:38:31 -0500 Message-ID: <84wr93mvbs.fsf@davestoy.home> References: <847h15ielh.fsf@davestoy.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325947234 4943 80.91.229.12 (7 Jan 2012 14:40:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 14:40:34 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29107@lists.math.uh.edu Sat Jan 07 15:40:31 2012 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 1RjXRe-0000Y4-II for ding-account@gmane.org; Sat, 07 Jan 2012 15:40:30 +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 1RjXQE-00062c-7Z; Sat, 07 Jan 2012 08:39:02 -0600 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 1RjXQD-00062R-03 for ding@lists.math.uh.edu; Sat, 07 Jan 2012 08:39:01 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RjXQ9-0004mM-O4 for ding@lists.math.uh.edu; Sat, 07 Jan 2012 08:38:58 -0600 Original-Received: from vms173003pub.verizon.net ([206.46.173.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RjXQ8-0005Ro-2A for ding@gnus.org; Sat, 07 Jan 2012 15:38:56 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.206.146]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LXF0009FNC8UZK0@vms173003.mailsrvcs.net> for ding@gnus.org; Sat, 07 Jan 2012 08:38:33 -0600 (CST) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: (Lars Magne Ingebrigtsen's message of "Fri, 06 Jan 2012 22:05:28 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.1 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80825 Archived-At: > david.goldberg6@verizon.net (Dave Goldberg) writes: >> Verizon recently (finally!) announced support, soon to be required, >> for SSL on POP3 and SMTP. However things are weird. I did not have >> gnutls-cli on my system, so the pop3 setting found openssl and that >> worked fine. Smtpmail seems to insist on using gnutls-cli, with no >> option for openssl. So I installed gnutls-cli and things break. >> >> For pop3, it's called as >> >> gnutls-cli -p 995 --insecure incoming.verizon.net > Are you trying to use STARTTLS or TLS? What's your mail-sources stream > conf for the pop source? mail-sources '((pop :server "incoming.verizon.net" :user "vze2srxy" :port 995 :stream 'ssl)) >> And for some reason, I get an error that my user is invalid. But if I >> set a debug-on-entry for pop3-logon and step through, it works fine. >> Seems like some odd race condition. > It works for me in Emacs 23 with STARTTLS, at least. >> For smtpmail, it's called as >> >> gnutls-cli -s -p 465 outgoing.verizon.net >> >> and this just hangs. If I do that at the command line, I see why - it >> connects to the server and prints a message saying "simple client >> mode" but no banner from the server. If I remove the -s, I get the >> banner from the server. However the -s is hardcoded into starttls.el. >> Why? Do I need it? While I'd prefer to not have a locally hacked >> file or function definition, if that's what I have to do I will but if >> that can be made optional, it would be nice. > I'm guessing that the SMTP server does not do STARTTLS, but plain TLS > instead... That's likely the case. My config looks like this: send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it message-send-mail-partially-limit nil smtpmail-default-smtp-server "outgoing.verizon.net" smtpmail-local-domain "verizon.net" smtpmail-debug-info t smtpmail-auth-credentials "/home/dsg/.authinfo.gpg" smtpmail-smtp-service 465 smtpmail-starttls-credentials '(("outgoing.verizon.net" 465 nil nil)) Is there some other way to do SMTP over SSL? Thanks, -- Dave Goldberg david.goldberg6@verizon.net