Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Paul Bibbings <paul.bibbings@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: gnutls windows smtp
Date: Sat, 27 Mar 2010 12:01:42 +0000	[thread overview]
Message-ID: <87fx3mnfbt.fsf@gmail.com> (raw)
In-Reply-To: <87ocibavbc.fsf@desktop.xx.yy>

Hugh Lawson <hlawson@triad.rr.com> writes:

> Hugh <hu.lawson@gmail.com> writes:
>
>> Please point me to simple directions for using the
>> gmail smtp server, by means of gnutls, from emacs gnus
>> to send mail, in the Windows XP operating system.  I am
>> using this emacs: GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
>
> [ snip ]
>
> Perhaps this cannot be done. Does anybody know?

Hi Hugh

I remember that I wasn't able to get this working when I tried back in
January.  My setup was (and still is) GNU Emacs 23.1.1
(i386-mingw-nt6.0.6002) on Windows Vista.  (Having said that, I have
recently upgraded my Gnus to version v0.11, but the problems I was
encountering were focussed in the Emacs mail package outside of Gnus).
I was experimenting both with a version of gnutls from my Cygwin
installation, and another that, IIRC, I built myself from source.

I did some debugging (see
http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/d561d7cc266a2336/74092c866822bc04)
and it seemed that a particular section of code was skipping sending a
STARTTLS even though the Google smtp server was publishing STARTTLS as
available.  At the time I couldn't see that there was any way around the
issue without modifying Emacs source, and I don't know Lisp that well.

In the end I had to run through various old e-mail subscriptions that I
had accumulated to see if I could find one that permitted use of its
smtp server with any from address.   I was lucky, and found one.

My best assessment - though I didn't go into it that deeply - is that
Gmail's smtp server is sending its EHLO response in form that, in some
way, Emacs' smtpmail is a little confused by.

Having given up on it myself, if you do get this working, I would love
to know the solution too.

Good luck!

Regards

Paul Bibbings

  reply	other threads:[~2010-03-27 12:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 20:38 Hugh
2010-03-26 16:42 ` Hugh Lawson
2010-03-27 12:01   ` Paul Bibbings [this message]
2010-03-27 12:17     ` Hugh Lawson
2010-03-29 12:26   ` Pascal Quesseveur
2010-03-30  5:16     ` Hugh Lawson
2010-03-30 21:39       ` msmtp instead of gnutls was " Hugh Lawson
2010-03-30 21:04         ` Ted Zlatanov
2010-04-02 18:51           ` Hugh
2010-04-05 19:21             ` Hugh Lawson

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=87fx3mnfbt.fsf@gmail.com \
    --to=paul.bibbings@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).