all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gnustestingacc@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus: Process SMTP not running
Date: Fri, 16 May 2014 17:40:43 -0700 (PDT)	[thread overview]
Message-ID: <32f1573b-5023-43ac-b0c1-0f2305cd1886@googlegroups.com> (raw)
In-Reply-To: <a26c0355-2cf0-44f7-8a14-a359df4961e4@googlegroups.com>

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.



  reply	other threads:[~2014-05-17  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17  0:18 Gnus: Process SMTP not running gnustestingacc
2014-05-17  0:40 ` gnustestingacc [this message]
2014-05-17 16:50   ` W. Greenhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32f1573b-5023-43ac-b0c1-0f2305cd1886@googlegroups.com \
    --to=gnustestingacc@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.