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: Gnus: Process SMTP not running
Date: Fri, 16 May 2014 17:18:18 -0700 (PDT)	[thread overview]
Message-ID: <a26c0355-2cf0-44f7-8a14-a359df4961e4@googlegroups.com> (raw)

Hi Leute,

ich moechte gnus als mail reader und client benutzen, habe aber noch keine Erfahrung mit dem Programm an sich. Nun hab ich mich durch einige Tutos gelesen und eine Konfiguration gefunden, die mir zumindest das Lesen von Mails ermoeglich (siehe .gnus im Codeblock unten). Leider macht das Versenden von Mails noch Probleme. Die Fehlermeldung im Minibuffer von emacs ist "Process SMTP not running". Da habe ich versucht mit Hilfe von diversen Suchmaschinen eine Loesung zu finden. Ich scheine zwar nicht der einzige mit diesem Problem zu sein, allerdings konnte ich keine wirkliche Loesung finden. Ich habe extra einen Account bei gmail eingerichtet um die ganze Geschichte zu testen, weil sich sehr viele Tutos auf gmail beziehen.

vollstaendige .gnus: (ich benutze auch eine .authinfo fuer die Passwoerter)
===========================================
    (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)
===========================================

Nachdem ich also auf dem leichten Weg (Suche => Loesung) nichts gefunden habe, habe ich mir die Geschichte mal naeher angeguckt. Mein 'trace of SMTP session to smtp.gmail.com' buffer sieht so aus:

===========================================
    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
===========================================

dort ist mir natuerlich aufgefallen, dass der SMTP process scheinbar versucht sich beim Server mit snow.tower anzumelden, was ueberraschender Weise nicht klappt *IRONIE!* Dazu direkt mal die erste Frage: Wie kann ich gnus konfigurieren da andere hostnames/domains zu verwenden?

Im Endeffekt glaube ich allerdings, dass das eingentliche Problem hier liegt: (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
===========================================

Offensichtlich hat die Verbindung nicht hingehauen, der Process bricht ab und der smtpmail-send-command findet keinen laufenden Process. Was mich daran wundert ist nun, dass die Zertifikate nicht akzeptiert wurden. Ich meine, die kommen doch offensichtlich vom gmail-server und ich gehe in meiner Naivitaet einfach mal davon aus, dass die Menschen bei google es gebacken bekommen dort gueltige Zertifikate zu installieren.

danke fuer eure Hilfe

PS: Ich verwende als OS debian sid, emacs in der Version 23.4.1, und habe gnutls-bin installiert.


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17  0:18 gnustestingacc [this message]
2014-05-17  0:40 ` Gnus: Process SMTP not running gnustestingacc
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=a26c0355-2cf0-44f7-8a14-a359df4961e4@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.