From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64610 Path: news.gmane.org!not-for-mail From: Kamen TOMOV Newsgroups: gmane.emacs.gnus.general Subject: Gnus/VM with GnuTLS for smtp.gmail.com Date: Wed, 09 May 2007 16:25:16 +0300 Organization: CYBUILD Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1178717961 30378 80.91.229.12 (9 May 2007 13:39:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 13:39:21 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13121@lists.math.uh.edu Wed May 09 15:39:20 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HlmNz-0008Jx-0r for ding-account@gmane.org; Wed, 09 May 2007 15:39:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HlmMt-0003Ps-N6; Wed, 09 May 2007 08:38:11 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HlmMs-0003Pa-AG for ding@lists.math.uh.edu; Wed, 09 May 2007 08:38:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HlmMr-00053i-Bh for ding@lists.math.uh.edu; Wed, 09 May 2007 08:38:10 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HlmMq-0001jG-00 for ; Wed, 09 May 2007 15:38:08 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HlmJT-0005wJ-1D for ding@gnus.org; Wed, 09 May 2007 15:34:39 +0200 Original-Received: from 88.80.135.102 ([88.80.135.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 May 2007 15:34:39 +0200 Original-Received: from kamen by 88.80.135.102 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 May 2007 15:34:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 88.80.135.102 X-Home-Page: http://www.cybuild.com/~kat/ User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (windows-nt) Cancel-Lock: sha1:bAgc0ff70SBg/WKYYj54okGjT9Y= X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64610 Archived-At: [Sorry for the test message.] I've been tring to make smtp.gmail.com work from Gnus so I found out a few things that I'd like to share and discuss with you. I tried this howto: http://www.pvv.ntnu.no/~terjeros/wiki/GnusGmail It didn't work out of the box. My environment is: Windows XP EmacsW32 22.0.99.1 (the latest and greatest) GnuTLS 1.7.8 I don't have startls program as I couldn't find an EXE and didn't want to deal with compilation. Google provides two different SMTP services to its users. One on port 465 and another on port 587 of smtp.gmail.com. Point of attention - these are different SMTP services. GnuTLS does not work with the service on port 587 - it seems that the SSL/TLS version is unsupported. However, it works OK with the service on port 465. Hint: gnutls-cli smtp.gmail.com -p 465 EHLO localhost AUTH LOGIN ... The first thing that I noted was that starttls-negotiate uses SIGALRM that does not work on Windows. However, if the gnutls-cli command is started without the "-s" option we can make do without starttls-negotiate (resp without the SIGALRM signal) so I commented it and removed the option. Unfortunately, this didn't fixed it. Gnus sits there and waits the function smtpmail-read-response which never returns. Anybody knows why? Regards, -- Камен http://www.cybuild.com/~kat/