info-gnus-english
[Top][All Lists]
Advanced

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

Re: Gnus, smptmail.el and Gmail's SMTP server


From: Hadron
Subject: Re: Gnus, smptmail.el and Gmail's SMTP server
Date: Tue, 23 Jan 2007 11:14:30 +1300

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?

-- 


reply via email to

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