delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/29/10:27:40

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=qjGJofe7UwzJ9QBfU7h+RVUxJPTs6W3uTyx9/dgKJMG5LMCIj7Ju7
21Ib3WEVAUFhge4ePYeRtx0q5WPOzOoZvauFSSWfOFvS9LqNC/kbYh+q7mL1lteN
zgOiVdJoZSWXw60F2LeIYjC19sqSmWgLy+02Hg6X/Tr7jUmhVS+gi4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:mime-version:content-type:content-transfer-encoding; s=default;
bh=sGVgd3N7skdI+Yo2PaL6NmngbBI=; b=he5aJjIS/Ut1GPvS1ejES7sO3T65
bcU7Xo2x2V5ZVoNNdQmbGrn4uCZehdQkVa4V8BkkhGLZs3r00I2Ndj4EqL3gOdkp
pBYsbnd83YDSoQUkzG8GseRtcIlmUXb2DDrRRsZsfb8Jg89h0ozIV52X+wKX0bwi
o/bRhiRP51bAKKs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RDNS_NONE autolearn=no version=3.3.2
X-HELO: nm15-vm10.access.bullet.mail.bf1.yahoo.com
Message-ID: <1377786441.48066.YahooMailNeo@web184401.mail.bf1.yahoo.com>
Date: Thu, 29 Aug 2013 07:27:21 -0700 (PDT)
From: Zdzislaw Meglicki <zdzisiekm AT sbcglobal DOT net>
Reply-To: Zdzislaw Meglicki <zdzisiekm AT sbcglobal DOT net>
Subject: Re: emacs-24.3.1 crashes on talking to Google
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
"kbrown AT cornell DOT edu" <kbrown AT cornell DOT edu>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r7TERcKp020020

Ken asks:

> This is not specific to Cygwin.  If it belongs anywhere, it should be in the emacs manual.  
> I just looked at the section "Emacs speaks SMTP" in the smtpmail documentation, and 
> the instructions look pretty clear to me.  What happens if you follow those instructions, 
> replacing "mail.example.org" with "smtp.gmail.com"?  If there's anything Cygwin-specific 
> that goes wrong, then I'll try to fix it or add something to 
>
>   /usr/share/doc/emacs/README.Cygwin, 
>
> whatever is appropriate. 
 
I tried every trick and... it still crashes: the moment you try to send mail through Google
with emacs.
 
My latest .emacs code looked as follows:
 
(require 'smtpmail)
(require 'auth-source)
(setq message-send-mail-function 'smtpmail-send-it)
(setq send-mail-function 'smtpmail-send-it)
(setq smtpmail-stream-type 'starttls)
(setq smtpmail-default-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 587)
 
The crash occurs with or without smtpmail-stream-type set. The authentication
lives on the ~/.authinfo file, which looks as follows:
 
machine smtp.gmail.com login <my-login> password <my-password>
 
of course, with <my-login> and <my-password> filled with the correct info.
 
There is some confusing information on-line and also in the emacs manual
about whether the ~/.authinfo file should be generated by emacs on asking
for the login and password on connection, or whether it should be written by
the user prior to invoking emacs. If I don't have this file, emacs does not ask
me for the login and password, but it crashes anyway.
 
Here's my question to the community: can anyone send e-mail through Google
SMTP from emacs-24.3.1 on the latest 64-bit Windows-8/Cygwin? I think the
TLS/SSL libraries are fine, because fetchmail works.
 
Greetings,
Gustav
http://perth.ovpit.indiana.edu/gustav

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019