* Gnus, smptmail.el and Gmail's SMTP server
@ 2007-01-22 14:17 Sebastian Tennant
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Tennant @ 2007-01-22 14:17 UTC (permalink / raw)
Hi all,
Just wondering if anyone has got these three working together?
I've followed the instructions found here as best I can, but without
success:
http://www.emacswiki.org/cgi-bin/wiki/SmtpAuth
I can use Gmail's SMTP server without any problems at all using
IceDove (Debian's unbranded Thunderbird). I simply provide the
follwoing info and off it goes:
Server: smtp.googlemail.com
Port: 465
SSL: yes
Username: ********
Password: ********
but configuring smptmail.el is not so straightforward.
I am setting the following variables accordingly:
smtpmail-auth-credentials '(("smtp.googlemail.com" 465 "*******" "*******"))
smtpmail-starttls-credentials '(("smtp.googlemail.com" 465 nil nil))
(describe-variable 'smtpmail-starttls-credentials)
"Specify STARTTLS keys and certificates for servers. This is a list
of four-element list with `servername' (a string), `port' (an
integer), `key' (a filename) and `certificate' (a filename). If you
do not have a certificate/key pair, leave the `key' and `certificate'
fields as `nil'. A key/certificate pair is only needed if you want
to use X.509 client authenticated connections."
Needless to say this doesn't mean much to me.
When I try to send mail with my current configuration, I get the
following SMTP trace:
220 mx.google.com ESMTP 33sm6293131hue
EHLO moley.org.
250-mx.google.com at your service, [xx.xxx.xx.xx]
250-SIZE 20971520
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
MAIL FROM:<sebyte@smolny.plus.com> SIZE=285
530 5.7.0 Must issue a STARTTLS command first 33sm6293131hue
QUIT
221 2.0.0 mx.google.com closing connection 33sm6293131hue
So no STARTTLS command is being sent despite the following lines in my .gnus:
(setq starttls-use-gnutls t
starttls-gnutls-program "gnutls-cli"
starttls-extra-arguments nil)
and gnutls-cli is definitely installed:
(shell-command "which gnutls-cli" t)
/usr/bin/gnutls-cli
Any help much appreciated.
Sebastian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Gnus, smptmail.el and Gmail's SMTP server
[not found] <mailman.3411.1169475524.2155.info-gnus-english@gnu.org>
@ 2007-01-22 22:14 ` Hadron
0 siblings, 0 replies; 2+ messages in thread
From: Hadron @ 2007-01-22 22:14 UTC (permalink / raw)
Sebastian Tennant <sebyte@smolny.plus.com> writes:
> Hi all,
>
> Just wondering if anyone has got these three working together?
>
> I've followed the instructions found here as best I can, but without
> success:
>
> http://www.emacswiki.org/cgi-bin/wiki/SmtpAuth
>
> I can use Gmail's SMTP server without any problems at all using
> IceDove (Debian's unbranded Thunderbird). I simply provide the
> follwoing info and off it goes:
>
> Server: smtp.googlemail.com
> Port: 465
> SSL: yes
> Username: ********
> Password: ********
>
> but configuring smptmail.el is not so straightforward.
>
> I am setting the following variables accordingly:
>
> smtpmail-auth-credentials '(("smtp.googlemail.com" 465 "*******" "*******"))
> smtpmail-starttls-credentials '(("smtp.googlemail.com" 465 nil nil))
>
> (describe-variable 'smtpmail-starttls-credentials)
>
> "Specify STARTTLS keys and certificates for servers. This is a list
> of four-element list with `servername' (a string), `port' (an
> integer), `key' (a filename) and `certificate' (a filename). If you
> do not have a certificate/key pair, leave the `key' and `certificate'
> fields as `nil'. A key/certificate pair is only needed if you want
> to use X.509 client authenticated connections."
>
> Needless to say this doesn't mean much to me.
>
> When I try to send mail with my current configuration, I get the
> following SMTP trace:
>
> 220 mx.google.com ESMTP 33sm6293131hue
> EHLO moley.org.
> 250-mx.google.com at your service, [xx.xxx.xx.xx]
> 250-SIZE 20971520
> 250-8BITMIME
> 250-STARTTLS
> 250 ENHANCEDSTATUSCODES
> MAIL FROM:<sebyte@smolny.plus.com> SIZE=285
> 530 5.7.0 Must issue a STARTTLS command first 33sm6293131hue
> QUIT
> 221 2.0.0 mx.google.com closing connection 33sm6293131hue
>
> So no STARTTLS command is being sent despite the following lines in my .gnus:
>
> (setq starttls-use-gnutls t
> starttls-gnutls-program "gnutls-cli"
> starttls-extra-arguments nil)
>
> and gnutls-cli is definitely installed:
>
> (shell-command "which gnutls-cli" t)
> /usr/bin/gnutls-cli
>
>
> Any help much appreciated.
>
> Sebastian
>
>
>
Did you install starttls?
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-22 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-22 14:17 Gnus, smptmail.el and Gmail's SMTP server Sebastian Tennant
[not found] <mailman.3411.1169475524.2155.info-gnus-english@gnu.org>
2007-01-22 22:14 ` Hadron
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).