From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gnustestingacc@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Gnus: Process SMTP not running Date: Fri, 16 May 2014 17:40:43 -0700 (PDT) Message-ID: <32f1573b-5023-43ac-b0c1-0f2305cd1886@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400288243 32488 80.91.229.3 (17 May 2014 00:57:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 May 2014 00:57:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 17 02:57:16 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WlSw8-0006mN-1e for geh-help-gnu-emacs@m.gmane.org; Sat, 17 May 2014 02:57:16 +0200 Original-Received: from localhost ([::1]:38352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlSw7-0008Os-Nc for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2014 20:57:15 -0400 X-Received: by 10.66.190.202 with SMTP id gs10mr10441730pac.0.1400287244039; Fri, 16 May 2014 17:40:44 -0700 (PDT) X-Received: by 10.140.95.112 with SMTP id h103mr394893qge.4.1400287243910; Fri, 16 May 2014 17:40:43 -0700 (PDT) Original-Path: usenet.stanford.edu!c1no8572446igq.0!news-out.google.com!qf4ni2017igc.0!nntp.google.com!c1no8572436igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.17.107.137; posting-account=CDcGCQoAAAAQSArzDQ-x9cO1Y2bZnK3s Original-NNTP-Posting-Host: 31.17.107.137 User-Agent: G2/1.0 Injection-Date: Sat, 17 May 2014 00:40:43 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:205459 X-Mailman-Approved-At: Fri, 16 May 2014 20:57:06 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97727 Archived-At: 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 runnin= g and I am able to read my mails. For this I used the configuration as show= n in the code block below, where I posted my whole .gnus file. So reading i= s fine, but sending does not work. Whenever I try to send a mail I get 'Pro= cess SMTP is not running'.=20 =20 complete.gnus: (I use an.authinfo file for the passwords) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq imap-log t) =20 =20 =20 (setq user-mail-address "g...c@gmail.com") =20 (setq user-full-name "gnus Tester") =20 =20 =20 (setq gnus-select-method =20 '(nnimap "gmail" =20 (nnimap-address "imap.gmail.com") =20 (nnimap-server-port 993) =20 (nnimap-stream ssl))) =20 =20 =20 (setq message-send-mail-function 'smtpmail-send-it =20 smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) =20 smtpmail-auth-credentials '(("smtp.gmail.com" 587 "g...c@gmail.c= om" nil)) =20 smtpmail-default-smtp-server "smtp.gmail.com" =20 smtpmail-smtp-server "smtp.gmail.com" =20 smtpmail-smtp-service 587 =20 gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"= [#'()]") =20 =20 =20 =20 =20 (setq starttls-use-gnutls t) =20 (setq starttls-gnutls-program "gnutls-cli") =20 (setq starttls-extra-arguments nil) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 Starting my search for a solution with this error message got me to the poi= nt, 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: =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Process SMTP exited abnormally with code 1 =20 EHLO snow.tower =20 250-mx.google.com at your service, [31.17.107.137] =20 250-SIZE 35882577 =20 250-8BITMIME =20 250-STARTTLS =20 250-ENHANCEDSTATUSCODES =20 250 CHUNKIEHLO snow.tower =20 QUIT =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 Noticeable is that my computer tries to access the SMTP server as snow.tow= er (my local hostname and domain), which fails of course. That is also my f= irst question: How can I configure gnus to use another hostname and domain? =20 Anyway, I believe the main problem lays in here: (Messages buffer) =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Sending... =20 Sending via mail... =20 Opening STARTTLS connection to `smtp.gmail.com:587'...done =20 STARTTLS negotiation failed: NG =20 STARTTLS =20 220 2.0.0 Ready to start TLS =20 *** Starting TLS handshake =20 - Certificate type: X.509 =20 - Got a certificate list of 3 certificates. =20 - Certificate[0] info: =20 - subject `C=3DUS,ST=3DCalifornia,L=3DMountain View,O=3DGoogle Inc,CN= =3Dsmtp.gmail.com', issuer `C=3DUS,O=3DGoogle Inc,CN=3DGoogle Internet Auth= ority 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 `1075e1= 8cdf93153ba18fcdfed31179d5164377bc' =20 Public Key ID: =20 c947268d075afbbe7793e51b17d76f0ddbe65324 =20 Public key's random art: =20 +--[ RSA 2048]----+ =20 | o | =20 | o =3D | =20 | . + =3D | =20 | . B E o| =20 | S o .+o| =20 | o +B| =20 | . .=3DO| =20 | .. +=3D+| =20 | .. . o+| =20 +-----------------+ =20 =20 =20 - Certificate[1] info: =20 - subject `C=3DUS,O=3DGoogle Inc,CN=3DGoogle Internet Authority G2', = issuer `C=3DUS,O=3DGeoTrust Inc.,CN=3DGeoTrust Global CA', RSA key 2048 bit= s, signed using RSA-SHA1, activated `2013-04-05 15:15:55 UTC', expires `201= 5-04-04 15:15:55 UTC', SHA-1 fingerprint `d83c1a7f4d0446bb2081b81a1670f8183= 451ca24' =20 - Certificate[2] info: =20 - subject `C=3DUS,O=3DGeoTrust Inc.,CN=3DGeoTrust Global CA', issuer = `C=3DUS,O=3DEquifax,OU=3DEquifax Secure Certificate Authority', RSA key 204= 8 bits, signed using RSA-SHA1, activated `2002-05-21 04:00:00 UTC', expires= `2018-08-21 04:00:00 UTC', SHA-1 fingerprint `7359755c6df9a0abc3060bce3695= 64c8ec4542a3' =20 - Status: The certificate is NOT trusted. The certificate issuer is un= known. =20 *** PKI verification of server certificate failed... =20 *** Fatal error: Error in the certificate. =20 *** Handshake has failed =20 =20 =20 smtpmail-send-command: Process SMTP not running =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 Obviously the connection quit, an the SMTP process does not find a connect= ion. I wonder why the certificates are not accepted by my (?) system. I wou= ld believe that the certificates are valid, because they are from google an= d I think these guys are capable of creating valid certificates.=20 =20 thx for your help =20 =20 =20 PS: I use debian sid, emacs version 23.4.1, and have gnutls-bin installed.