* gnutls windows smtp
@ 2010-03-24 20:38 Hugh
2010-03-26 16:42 ` Hugh Lawson
0 siblings, 1 reply; 10+ messages in thread
From: Hugh @ 2010-03-24 20:38 UTC (permalink / raw)
To: info-gnus-english
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)
I need complete configuration directions.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnutls windows smtp
2010-03-24 20:38 gnutls windows smtp Hugh
@ 2010-03-26 16:42 ` Hugh Lawson
2010-03-27 12:01 ` Paul Bibbings
2010-03-29 12:26 ` Pascal Quesseveur
0 siblings, 2 replies; 10+ messages in thread
From: Hugh Lawson @ 2010-03-26 16:42 UTC (permalink / raw)
To: info-gnus-english
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?
Hugh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnutls windows smtp
2010-03-26 16:42 ` Hugh Lawson
@ 2010-03-27 12:01 ` Paul Bibbings
2010-03-27 12:17 ` Hugh Lawson
2010-03-29 12:26 ` Pascal Quesseveur
1 sibling, 1 reply; 10+ messages in thread
From: Paul Bibbings @ 2010-03-27 12:01 UTC (permalink / raw)
To: info-gnus-english
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnutls windows smtp
2010-03-27 12:01 ` Paul Bibbings
@ 2010-03-27 12:17 ` Hugh Lawson
0 siblings, 0 replies; 10+ messages in thread
From: Hugh Lawson @ 2010-03-27 12:17 UTC (permalink / raw)
To: info-gnus-english
Paul Bibbings <paul.bibbings@gmail.com> writes:
[ snip ]
> Having given up on it myself, if you do get this working, I would love
> to know the solution too.
>
> Good luck!
Thank you Paul.
Hugh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnutls windows smtp
2010-03-26 16:42 ` Hugh Lawson
2010-03-27 12:01 ` Paul Bibbings
@ 2010-03-29 12:26 ` Pascal Quesseveur
2010-03-30 5:16 ` Hugh Lawson
1 sibling, 1 reply; 10+ messages in thread
From: Pascal Quesseveur @ 2010-03-29 12:26 UTC (permalink / raw)
To: info-gnus-english
>"HL" == Hugh Lawson <hlawson@triad.rr.com> a écrit :
HL> Perhaps this cannot be done. Does anybody know?
I've tried several times without any success. I am currently using
msmtp with the following settings:
--8<---------------cut here---------------start------------->8---
(setq sendmail-program "msmtp"
message-sendmail-envelope-from 'header
send-mail-function 'mailclient-send-it
message-send-mail-function 'message-send-mail-with-sendmail)
--8<---------------cut here---------------end--------------->8---
and config file ~/msmtprc.txt is:
--8<---------------cut here---------------start------------->8---
account gmail
host smtp.gmail.com
auth on
tls on
tls_certcheck off
user pquessev@gmail.com
password xxxxx
port 587
account default : gmail
--8<---------------cut here---------------end--------------->8---
--
Pascal Quesseveur
pascal.quesseveur@free.fr
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnutls windows smtp
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
0 siblings, 1 reply; 10+ messages in thread
From: Hugh Lawson @ 2010-03-30 5:16 UTC (permalink / raw)
To: info-gnus-english
Pascal Quesseveur <pascal.quesseveur@free.fr> writes:
> I've tried several times without any success. I am currently using
> msmtp with the following settings:
Thanks Pascal for sharing. I've given up on this.
I need much hard study to figure out how to make w32 emacs and emacs
gnus interoperate with gmail. There is much new knowledge required,
for me.
This is a hobby project, so I'll put it aside for a while.
If there is much demand for this, somebody will make it easier.
Hugh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: msmtp instead of gnutls was Re: gnutls windows smtp
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
0 siblings, 1 reply; 10+ messages in thread
From: Ted Zlatanov @ 2010-03-30 21:04 UTC (permalink / raw)
To: info-gnus-english
On Tue, 30 Mar 2010 17:39:13 -0400 Hugh Lawson <hu.lawson@gmail.com> wrote:
HL> Trying again, I got msmtp to send mail from w32 Emacs Gnus.
HL> # msmtprc.txt contents
HL> account default
HL> host smtp.gmail.com
HL> from MY.EMAIL@gmail.com
HL> auth on
HL> tls on
HL> tls_certcheck off
HL> user MY.EMAIL@gmail.com
HL> password MYPASSWDatGmail
HL> port 587
HL> logfile c:\emacs\msmtplog.txt
HL> #variables set in Emacs.
HL> (setq message-send-mail-function 'message-send-mail-with-sendmail)
HL> (setq sendmail-program "c:/emacs/msmtp.exe")
HL> (setq mail-host-address "gmail.com")
HL> (setq user-mail-address "MY.EMAIL@gmail.com")
You should post this to the Emacs Wiki, if you haven't already. I'm
sure others will be grateful.
Ted
^ permalink raw reply [flat|nested] 10+ messages in thread
* msmtp instead of gnutls was Re: gnutls windows smtp
2010-03-30 5:16 ` Hugh Lawson
@ 2010-03-30 21:39 ` Hugh Lawson
2010-03-30 21:04 ` Ted Zlatanov
0 siblings, 1 reply; 10+ messages in thread
From: Hugh Lawson @ 2010-03-30 21:39 UTC (permalink / raw)
To: info-gnus-english
Hugh Lawson <hlawson@triad.rr.com> writes:
[ snip ]
Trying again, I got msmtp to send mail from w32 Emacs Gnus.
# msmtprc.txt contents
account default
host smtp.gmail.com
from MY.EMAIL@gmail.com
auth on
tls on
tls_certcheck off
user MY.EMAIL@gmail.com
password MYPASSWDatGmail
port 587
logfile c:\emacs\msmtplog.txt
#variables set in Emacs.
(setq message-send-mail-function 'message-send-mail-with-sendmail)
(setq sendmail-program "c:/emacs/msmtp.exe")
(setq mail-host-address "gmail.com")
(setq user-mail-address "MY.EMAIL@gmail.com")
Thanks to Pascal for the encouragement.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: msmtp instead of gnutls was Re: gnutls windows smtp
2010-03-30 21:04 ` Ted Zlatanov
@ 2010-04-02 18:51 ` Hugh
2010-04-05 19:21 ` Hugh Lawson
0 siblings, 1 reply; 10+ messages in thread
From: Hugh @ 2010-04-02 18:51 UTC (permalink / raw)
To: info-gnus-english
On Mar 30, 5:04 pm, Ted Zlatanov <t...@lifelogs.com> wrote:
> On Tue, 30 Mar 2010 17:39:13 -0400 Hugh Lawson <hu.law...@gmail.com> wrote:
>
> HL> Trying again, I got msmtp to send mail from w32 Emacs Gnus.
> You should post this to the Emacs Wiki, if you haven't already. I'm
> sure others will be grateful.
>
> Ted
Hello Ted, I cannot now reproduce those results. Hence I removed that
post from the
google archive.
Hugh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: msmtp instead of gnutls was Re: gnutls windows smtp
2010-04-02 18:51 ` Hugh
@ 2010-04-05 19:21 ` Hugh Lawson
0 siblings, 0 replies; 10+ messages in thread
From: Hugh Lawson @ 2010-04-05 19:21 UTC (permalink / raw)
To: info-gnus-english
Hugh <hu.lawson@gmail.com> writes:
[ snip ]
GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002)
XP Pro
msmtp
Goal: use mx-mail in emacs to send email, by the gmail
smtp server, and use 'm' command in gnus to send email.
Here the the configuration files.
#msmtprc.txt--anonymized
host smtp.gmail.com
port 587
auth on
tls on
tls_starttls on
#next line was the hard part
#I had to study
tls_trust_file <path to >\filename.pem
user GMAIL-USER@gmail.com
password SECRET
from GMAIL-USer@gmail.com
#end msmtprc.txt--anonymized
;;started with *empty* .emacs file.
;;.emacs init file--anonymized
(global-set-key [f1] `help)
(global-set-key "\C-xh" 'help)
;;
(setq gnus-select-method '(nntp "my.news.server.com"))
(setq message-send-mail-function 'sendmail-send-it)
(setq send-mail-function 'sendmail-send-it)
(setq sendmail-program "c:/Program Files/msmtp-1.4.20-w32/msmtp.exe")
(setq user-full-name "Who Indeed")
(setq user-mail-address "GMAIL-USER@gmail.com")
;; end of .emacs init file
I started with msmtp. Only when I could by the command line
send an email with msmtp did I begin to work with emacs.
To keep things simple in emacs, I moved the existing .emacs
init file aside, and began with an empty .emacs file.
Hugh
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-04-05 19:21 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-24 20:38 gnutls windows smtp Hugh
2010-03-26 16:42 ` Hugh Lawson
2010-03-27 12:01 ` Paul Bibbings
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
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).