From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: SMTP library problem Date: Wed, 05 Mar 2008 12:11:48 +0100 Message-ID: <87zltdwhl7.fsf@escher.local.home> References: <954cc8bb0803041009pda5f74aq23323b1e9dc4e85b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204715582 25532 80.91.229.12 (5 Mar 2008 11:13:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2008 11:13:02 +0000 (UTC) Cc: longster@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 05 12:13:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JWrYe-0002Oi-Um for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2008 12:13:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWrY7-0005bt-B9 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2008 06:12:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWrXX-0005TO-Vk for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 06:12:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWrXV-0005Qr-S9 for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 06:12:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWrXV-0005Qb-KB for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 06:12:01 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JWrXV-0002O9-9o for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 06:12:01 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JWrXR-0006w2-Kv for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 11:11:57 +0000 Original-Received: from i5387c24a.versanet.de ([83.135.194.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2008 11:11:57 +0000 Original-Received: from Stephen.Berman by i5387c24a.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2008 11:11:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387c24a.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52053 Archived-At: On Tue, 4 Mar 2008 13:09:36 -0500 "James Long" wrote: > I couldn't find where to > subscribe to this mailing list so you may have to include my address > in the reply. You can also read and write to this list via Gmane, either as a newsgroup or with a web browser; go to gmane.org for details. > I'm using the standard SMTP library that comes with Emacs (I am using > Carbon Emacs 22.1). The connection requires SSL and password > authentication. Whenever I try to send a message, Emacs simply > freezes up. Here are my connection settings; I have tried both > gnutls-cli and starttls (using the variable which toggles which one to > use, I forget the name of it). > > (setq send-mail-function 'smtpmail-send-it) > (setq message-send-mail-function 'smtpmail-send-it) > (setq smtpmail-smtp-server "~server~") > (setq smtpmail-smtp-service ~port~) > (setq smtpmail-starttls-credentials '(("~server~" ~port~ "~user~" "~pass~"))) > (setq smtpmail-debug-info t) > (setq smtpmail-debug-verb t) > > I'm sure my credentials, server, and port are correct, and that the > server is fine. I don't get anything in the SMTP trace buffer. I > suppose I should figure out how to use edebug, which I will attempt > later on. > > Could one of my libraries be out of date? gnutls-cli (I have version > 2.3.1), or smtpmail.el, or something else? I have a similar or perhaps the same problem. I use the same type of settings as you do. How long did you wait after Emacs "froze up". In my case, it "unfreezes" after 20 minutes and the SMTP trace buffer shows this: Process SMTP finished 454 TLS connection failed: timed out (#4.3.0) - Peer has closed the GNUTLS connection QUIT This is reproducible. I can access the same SMTP server using KMail, so I assume, like you, that my problem is somewhere in smtpmail.el or gnutls-cli (I don't have starttls), perhaps a wrong setting. It would be nice if someone can solve this one; I haven't been able to. Steve Berman