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

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

Re: smtpmail, starttls authentication


From: Hadron Quark
Subject: Re: smtpmail, starttls authentication
Date: Mon, 21 Aug 2006 14:24:07 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Possibly only gmail smtp related.

Get latest GNUS from CVS. Google for it. Although I notice that I'm
using 0.4. Hmm.

You are already using 22.0.50 I see. Me too : debian snapshot.

It should work. Here is my relevant .gnus.el :

(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 587)

And google up fs-change-smtp : it includes the tls negotiation stuff
too.

"works for me finally".

best of luck.



Phillip Lord <phillip.lord@newcastle.ac.uk> writes:

> I'm trying to get smtpmail to work with starttls. I think that I have
> some of it working, but I am a bit stuck on the authentication. 
>
>
> I have the following setup with appropriate values for set for all the
> "myserver" bits...
>
> (setq smtpmail-smtp-server "myserver")
> (setq send-mail-function 'smtpmail-send-it)
>
>
> (setq smtpmail-auth-credentials  ; or use ~/.authinfo
>       '(("myserver" 993 "myusername" "mypassword")))
> (setq smtpmail-starttls-credentials
>       '(("smtpauth.ncl.ac.uk" 993 "" "" )))
>
>
> I get this response. 
>
> 220 myserver ESMTP Sendmail 8.12.11/8.12.10; Mon, 21 Aug 2006 12:13:30 +0100
> EHLO MACHINE
> 250-myserver Hello machine, pleased to meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-STARTTLS
> 250-DELIVERBY
> 250 HELP
> MAIL FROM:<phillip.lord@newcastle.ac.uk> SIZE=626
> 530 5.7.0 Authentication required
> QUIT
> 221 2.0.0 myserver closing connection
>
>
> I am sure that the reason is because the smtpmail-starttls-credentials
> variable doesn't have anything set for the key and certificate. 
>
> But I have no idea where I am supposed to set for these, nor where I
> am get the appropriate certificates from. 
>
> I'd be grateful for any pointers -- the IMAP over SSL worked very
> well, just requiring the addition of ":stream 'ssl" to my
> mail-sources, but sending mail is giving me a headache. 
>
> Cheers
>
> Phil

-- 


reply via email to

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