[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus: Process SMTP not running
From: |
gnustestingacc |
Subject: |
Re: Gnus: Process SMTP not running |
Date: |
Fri, 16 May 2014 17:40:43 -0700 (PDT) |
User-agent: |
G2/1.0 |
English Version:
Hi Guys,
I'd like to use gnus as mail reader and client, but unfortunately I have no
experience with it. With help of some tutorials I managed to get it running and
I am able to read my mails. For this I used the configuration as shown in the
code block below, where I posted my whole .gnus file. So reading is fine, but
sending does not work. Whenever I try to send a mail I get 'Process SMTP is not
running'.
complete.gnus: (I use an.authinfo file for the passwords)
===========================================
(setq imap-log t)
(setq user-mail-address "g...c@gmail.com")
(setq user-full-name "gnus Tester")
(setq gnus-select-method
'(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))
(setq message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "g...c@gmail.com"
nil))
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\(
\\|$\\)\\|^[\"]\"[#'()]")
(setq starttls-use-gnutls t)
(setq starttls-gnutls-program "gnutls-cli")
(setq starttls-extra-arguments nil)
===========================================
Starting my search for a solution with this error message got me to the point,
that on the one hand other people have the same issue, but on the other hand
apparently nobody has a real solution. That's why I had a closer look at the
'trace of SMTP session to smtp.gmail.com' buffer:
===========================================
Process SMTP exited abnormally with code 1
EHLO snow.tower
250-mx.google.com at your service, [31.17.107.137]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250 CHUNKIEHLO snow.tower
QUIT
===========================================
Noticeable is that my computer tries to access the SMTP server as snow.tower
(my local hostname and domain), which fails of course. That is also my first
question: How can I configure gnus to use another hostname and domain?
Anyway, I believe the main problem lays in here: (Messages buffer)
===========================================
Sending...
Sending via mail...
Opening STARTTLS connection to `smtp.gmail.com:587'...done
STARTTLS negotiation failed: NG
STARTTLS
220 2.0.0 Ready to start TLS
*** Starting TLS handshake
- Certificate type: X.509
- Got a certificate list of 3 certificates.
- Certificate[0] info:
- subject `C=US,ST=California,L=Mountain View,O=Google
Inc,CN=smtp.gmail.com', issuer `C=US,O=Google Inc,CN=Google Internet Authority
G2', RSA key 2048 bits, signed using RSA-SHA1, activated `2013-09-10 07:54:47
UTC', expires `2014-09-10 07:54:47 UTC', SHA-1 fingerprint
`1075e18cdf93153ba18fcdfed31179d5164377bc'
Public Key ID:
c947268d075afbbe7793e51b17d76f0ddbe65324
Public key's random art:
+--[ RSA 2048]----+
| o |
| o = |
| . + = |
| . B E o|
| S o .+o|
| o +B|
| . .=O|
| .. +=+|
| .. . o+|
+-----------------+
- Certificate[1] info:
- subject `C=US,O=Google Inc,CN=Google Internet Authority G2', issuer
`C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA', RSA key 2048 bits, signed using
RSA-SHA1, activated `2013-04-05 15:15:55 UTC', expires `2015-04-04 15:15:55
UTC', SHA-1 fingerprint `d83c1a7f4d0446bb2081b81a1670f8183451ca24'
- Certificate[2] info:
- subject `C=US,O=GeoTrust Inc.,CN=GeoTrust Global CA', issuer
`C=US,O=Equifax,OU=Equifax Secure Certificate Authority', RSA key 2048 bits,
signed using RSA-SHA1, activated `2002-05-21 04:00:00 UTC', expires `2018-08-21
04:00:00 UTC', SHA-1 fingerprint `7359755c6df9a0abc3060bce369564c8ec4542a3'
- Status: The certificate is NOT trusted. The certificate issuer is
unknown.
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.
*** Handshake has failed
smtpmail-send-command: Process SMTP not running
===========================================
Obviously the connection quit, an the SMTP process does not find a connection.
I wonder why the certificates are not accepted by my (?) system. I would
believe that the certificates are valid, because they are from google and I
think these guys are capable of creating valid certificates.
thx for your help
PS: I use debian sid, emacs version 23.4.1, and have gnutls-bin installed.