help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gnus: Process SMTP not running


From: gnustestingacc
Subject: Gnus: Process SMTP not running
Date: Fri, 16 May 2014 17:18:18 -0700 (PDT)
User-agent: G2/1.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]