all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: help-gnu-emacs@gnu.org
Cc: longster@gmail.com
Subject: Re: SMTP library problem
Date: Wed, 05 Mar 2008 12:11:48 +0100	[thread overview]
Message-ID: <87zltdwhl7.fsf@escher.local.home> (raw)
In-Reply-To: 954cc8bb0803041009pda5f74aq23323b1e9dc4e85b@mail.gmail.com

On Tue, 4 Mar 2008 13:09:36 -0500 "James Long" <longster@gmail.com> 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





  reply	other threads:[~2008-03-05 11:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 18:09 SMTP library problem James Long
2008-03-05 11:11 ` Stephen Berman [this message]
2008-03-05 12:54   ` David
2008-03-05 19:41     ` Stephen Berman
2008-03-05 23:03       ` David
2008-03-06  0:13         ` Stephen Berman
2008-03-06 11:17           ` David
2008-03-07 14:26             ` Stephen Berman
2008-03-07 15:03               ` David
2008-03-07 22:03                 ` Stephen Berman
2008-03-08 14:47                   ` David
2008-03-08 23:29                     ` Stephen Berman
2008-03-09 12:15                       ` David
2008-03-09 15:35                         ` Stephen Berman
     [not found]                   ` <mailman.8558.1204987691.18990.help-gnu-emacs@gnu.org>
2008-03-09 17:26                     ` Richard G Riley
2008-03-12 20:22                       ` SMTP library problem [RESOLVED] Stephen Berman
     [not found] <mailman.8306.1204670276.18990.help-gnu-emacs@gnu.org>
2008-03-05  6:42 ` SMTP library problem Volkan YAZICI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zltdwhl7.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=longster@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.