[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
smtpmail, starttls authentication
From: |
Phillip Lord |
Subject: |
smtpmail, starttls authentication |
Date: |
Mon, 21 Aug 2006 12:22:10 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
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
- smtpmail, starttls authentication,
Phillip Lord <=
- Re: smtpmail, starttls authentication, Hadron Quark, 2006/08/21
- Re: smtpmail, starttls authentication, Reiner Steib, 2006/08/22
- Re: smtpmail, starttls authentication, Hadron Quark, 2006/08/22
- Re: smtpmail, starttls authentication, Reiner Steib, 2006/08/22
- Re: smtpmail, starttls authentication, Hadron Quark, 2006/08/22
- Re: smtpmail, starttls authentication, Reiner Steib, 2006/08/23
- Re: smtpmail, starttls authentication, Hadron Quark, 2006/08/23
- Re: smtpmail, starttls authentication, Reiner Steib, 2006/08/24
- Re: smtpmail, starttls authentication, Hadron Quark, 2006/08/24
Re: smtpmail, starttls authentication, Phillip Lord, 2006/08/22