* trouble sending email: smtp/startls/gnutls
@ 2012-07-08 16:30 Timothy W. Hilton
0 siblings, 0 replies; 2+ messages in thread
From: Timothy W. Hilton @ 2012-07-08 16:30 UTC (permalink / raw)
To: info-gnus-english
Hello,
I am able to read IMAP mail in gnus from several servers without a
problem. I am having a lot of trouble sending mail, though, using
authsmtp through either TLS or SSL.
The relevant section of my .gnus is set up like this:
---------
(require 'smtpmail)
(setq starttls-use-gnutls t
starttls-gnutls-program "gnutls-cli")
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.unm.edu"
smtpmail-smtp-server "smtp.unm.edu"
smtpmail-smtp-service 465 )
smtpmail-starttls-credentials '(("smtp.unm.edu" 465 nil nil))
smtpmail-debug-info t
smtpmail-auth-credentials '(("smtp.unm.com" 465 "hilton" nil)))
---------
I've tried both starttls and gnutls; in both cases I get to
Opening STARTTLS connection to `smtp.unm.edu:465'...done
and then eventually the connection times out.
It seems like my problem is similar to this:
http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/d7ff2cda9096cb82
and
http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/b1512f73190714f0?pli=1
I've tried everything I can glean from those threads to no avail.
I am able to open a connection using gnutls-cli:
--------
$gnutls-cli --port 465 smtp.unm.edu
Resolving 'smtp.unm.edu'...
Connecting to '129.24.170.25:465'...
- Certificate type: X.509
- Got a certificate list of 2 certificates.
- Certificate[0] info:
# The hostname in the certificate matches 'smtp.unm.edu'.
# valid since: Mon Jul 25 18:00:00 MDT 2011
# expires at: Wed Aug 1 17:59:59 MDT 2012
# fingerprint: AF:C5:14:BB:4E:6A:12:67:9E:65:D0:3A:1E:ED:E3:DF
# Subject's DN: C=US,ST=New Mexico,L=Albuquerque,O=The University of New Mexico,OU=CIRT,CN=smtp.unm.edu
# Issuer's DN: C=US,O=Thawte\, Inc.,CN=Thawte SGC CA - G2
- Certificate[1] info:
# valid since: Wed May 12 18:00:00 MDT 2004
# expires at: Mon May 12 17:59:59 MDT 2014
# fingerprint: 84:84:03:56:10:85:53:ED:9A:CA:60:B5:FA:99:D3:31
# Subject's DN: C=ZA,O=Thawte Consulting (Pty) Ltd.,CN=Thawte SGC CA
# Issuer's DN: C=US,O=VeriSign\, Inc.,OU=Class 3 Public Primary Certification Authority
- Peer's certificate issuer is unknown
- Peer's certificate is NOT trusted
- Version: TLS 1.0
- Key Exchange: RSA
- Cipher: 3DES 168 CBC
- MAC: SHA
- Compression: NULL
- Handshake was completed
- Simple Client Mode:
220 borealis.unm.edu ESMTP CommuniGate Pro 5.2.20
QUIT
221 borealis.unm.edu CommuniGate Pro SMTP closing connection
- Peer has closed the GNUTLS connection
--------
Is the unknown issuer/untrusted certificate comment above a problem?
I'm new at this and I'm getting to wit's end; I'd greatly appreciate any
advice!
Thanks!
Tim
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: trouble sending email: smtp/startls/gnutls
[not found] <mailman.4325.1341766085.855.info-gnus-english@gnu.org>
@ 2012-09-05 16:00 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2012-09-05 16:00 UTC (permalink / raw)
To: Timothy W. Hilton; +Cc: info-gnus-english
"Timothy W. Hilton" <timothy.w.hilton@gmail.com> writes:
> I am able to read IMAP mail in gnus from several servers without a
> problem. I am having a lot of trouble sending mail, though, using
> authsmtp through either TLS or SSL.
You don't say what Emacs version version you're using. And I don't know
what authsmtp is. Do you mean smtpmail?
Anyway, if you're using Emacs 24, it's recommended to compile Emacs 24
with gnutls built in. Then everything should just work automatically.
--
(domestic pets only, the antidote for overdose, milk.)
http://lars.ingebrigtsen.no * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-05 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-08 16:30 trouble sending email: smtp/startls/gnutls Timothy W. Hilton
[not found] <mailman.4325.1341766085.855.info-gnus-english@gnu.org>
2012-09-05 16:00 ` Lars Ingebrigtsen
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).