From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15583 Path: news.gmane.org!not-for-mail From: "Timothy W. Hilton" Newsgroups: gmane.emacs.gnus.user Subject: trouble sending email: smtp/startls/gnutls Date: Sun, 8 Jul 2012 10:30:33 -0600 Message-ID: <20120708163033.GA60280@Tim.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341766087 29284 80.91.229.3 (8 Jul 2012 16:48:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2012 16:48:07 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jul 08 18:48:07 2012 Return-path: Envelope-to: gegu-info-gnus-english@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 1SnueU-0004x5-VN for gegu-info-gnus-english@m.gmane.org; Sun, 08 Jul 2012 18:48:07 +0200 Original-Received: from localhost ([::1]:53172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnueU-0002fj-3C for gegu-info-gnus-english@m.gmane.org; Sun, 08 Jul 2012 12:48:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnuNi-0001LL-4v for info-gnus-english@gnu.org; Sun, 08 Jul 2012 12:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SnuNf-0007Q5-NB for info-gnus-english@gnu.org; Sun, 08 Jul 2012 12:30:45 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:44040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnuNf-0007Pc-76 for info-gnus-english@gnu.org; Sun, 08 Jul 2012 12:30:43 -0400 Original-Received: by pbbrp2 with SMTP id rp2so20184874pbb.0 for ; Sun, 08 Jul 2012 09:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=fXTvD2OlGaf3wiMr6lIpIrfpmQoqxvvWbju7H9KkD70=; b=wLIDBVAgCMZ98KckcQDmNgLhJ5qOGq8yzfVT7LrBMvmvMplfodC8yiv3OXFnnO7uWD KaaU8194ewkWHNlL4zAkrLvXEtUYuXlj+f3sX1HfNHGNULak0LVh4RBgyEl6m2YXcWIE bxZ8jgWfasAzKZJ4ua5zBMhnYKFaiMJgAx4fy3YJAOyNTJh6lsEHu8fb2VP/3W2B5muo iq7ABU+45RisEW5hbhMWkWlmmADteacsF19Y+OUIz1NBetmOqAUewMl0t9z7NfIMXOhI KwE7DACvD7HGV+KhzesXZFciGR0UsRWct1XdxKhihN53ESzeTsghgT3TJN8bcoVDo3fC mA+g== Original-Received: by 10.68.225.2 with SMTP id rg2mr4716252pbc.159.1341765040611; Sun, 08 Jul 2012 09:30:40 -0700 (PDT) Original-Received: from Tim.local (c-174-56-74-148.hsd1.nm.comcast.net. [174.56.74.148]) by mx.google.com with ESMTPS id nh8sm25934749pbc.60.2012.07.08.09.30.38 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jul 2012 09:30:39 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-Mailman-Approved-At: Sun, 08 Jul 2012 12:48:04 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15583 Archived-At: Hello, I am able to read IMAP mail in gnus from several servers without a problem. I am having a lot of trouble sending mail, though, using authsmtp through either TLS or SSL. The relevant section of my .gnus is set up like this: --------- (require 'smtpmail) (setq starttls-use-gnutls t starttls-gnutls-program "gnutls-cli") (setq send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it) (setq smtpmail-default-smtp-server "smtp.unm.edu" smtpmail-smtp-server "smtp.unm.edu" smtpmail-smtp-service 465 ) smtpmail-starttls-credentials '(("smtp.unm.edu" 465 nil nil)) smtpmail-debug-info t smtpmail-auth-credentials '(("smtp.unm.com" 465 "hilton" nil))) --------- I've tried both starttls and gnutls; in both cases I get to Opening STARTTLS connection to `smtp.unm.edu:465'...done and then eventually the connection times out. It seems like my problem is similar to this: http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/d7ff2cda9096cb82 and http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/b1512f73190714f0?pli=1 I've tried everything I can glean from those threads to no avail. I am able to open a connection using gnutls-cli: -------- $gnutls-cli --port 465 smtp.unm.edu Resolving 'smtp.unm.edu'... Connecting to '129.24.170.25:465'... - Certificate type: X.509 - Got a certificate list of 2 certificates. - Certificate[0] info: # The hostname in the certificate matches 'smtp.unm.edu'. # valid since: Mon Jul 25 18:00:00 MDT 2011 # expires at: Wed Aug 1 17:59:59 MDT 2012 # fingerprint: AF:C5:14:BB:4E:6A:12:67:9E:65:D0:3A:1E:ED:E3:DF # Subject's DN: C=US,ST=New Mexico,L=Albuquerque,O=The University of New Mexico,OU=CIRT,CN=smtp.unm.edu # Issuer's DN: C=US,O=Thawte\, Inc.,CN=Thawte SGC CA - G2 - Certificate[1] info: # valid since: Wed May 12 18:00:00 MDT 2004 # expires at: Mon May 12 17:59:59 MDT 2014 # fingerprint: 84:84:03:56:10:85:53:ED:9A:CA:60:B5:FA:99:D3:31 # Subject's DN: C=ZA,O=Thawte Consulting (Pty) Ltd.,CN=Thawte SGC CA # Issuer's DN: C=US,O=VeriSign\, Inc.,OU=Class 3 Public Primary Certification Authority - Peer's certificate issuer is unknown - Peer's certificate is NOT trusted - Version: TLS 1.0 - Key Exchange: RSA - Cipher: 3DES 168 CBC - MAC: SHA - Compression: NULL - Handshake was completed - Simple Client Mode: 220 borealis.unm.edu ESMTP CommuniGate Pro 5.2.20 QUIT 221 borealis.unm.edu CommuniGate Pro SMTP closing connection - Peer has closed the GNUTLS connection -------- Is the unknown issuer/untrusted certificate comment above a problem? I'm new at this and I'm getting to wit's end; I'd greatly appreciate any advice! Thanks! Tim