emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open-network-stream problems on W32


From: Ted Zlatanov
Subject: Re: open-network-stream problems on W32
Date: Mon, 02 May 2011 14:00:32 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Mon, 02 May 2011 13:37:04 -0500 Ted Zlatanov <address@hidden> wrote: 

TZ> On Tue, 26 Apr 2011 22:34:51 -0600 Christoph Scholtes <address@hidden> 
wrote: 
CS> Receiving mail with Gnus works. However, sending mail does still not work.

CS> I get an SMTP protocol error (from *Messages* w/gnutls-log-level=1):

CS> Sending via mail...
CS> No STARTTLS program was available (tried 'gnutls-cli')
CS> 220 mx.google.com ESMTP h74sm253108yhm.11
CS> 250-mx.google.com at your service, [...]
CS> 250-SIZE 35882577
CS> 250-8BITMIME
CS> 250-STARTTLS
CS> 250 ENHANCEDSTATUSCODES
CS> 530 5.7.0 Must issue a STARTTLS command first. h74sm253108yhm.11
CS> 221 2.0.0 closing connection h74sm253108yhm.11
CS> smtpmail-send-it: Sending failed; SMTP protocol error

CS> Do you think this is related to GnuTLS?

TZ> It should Just Work; you're never hitting the GnuTLS code and
TZ> `smtpmail-send-it' is trying to use just the "gnutls-cli" command-line
TZ> utility.  `smtpmail-send-it' needs to be configured or fixed in code
TZ> (probably the former).

TZ> For me, I just

TZ> (setq smtpmail-starttls-credentials '(("mysmtpserver.com" 587 nil nil)))

TZ> and then put this line:

TZ> machine mysmtpserver.com login tzz password mypassword

TZ> in my ~/.authinfo.gpg.  But my configuration has many layers so the
TZ> above may need to be modified a bit and you need to dig into it or
TZ> submit a bug if it still fails.

Hmm, I just saw that STARTTLS is not implemented yet in Lars' message
earlier last week.  So you need to either use port 587 (where SSL is
required), or ask Lars in that other thread to implement STARTTLS for
smtpmail.el :)  Sorry for confusing you, I got confused myself.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]