From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60227 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail and starttls Date: Fri, 29 Apr 2005 10:35:12 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114763734 29711 80.91.229.2 (29 Apr 2005 08:35:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2005 08:35:34 +0000 (UTC) Original-X-From: ding-owner+M8755@lists.math.uh.edu Fri Apr 29 10:35:32 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRQy9-0005z4-HU for ding-account@gmane.org; Fri, 29 Apr 2005 10:35:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DRQyg-00063g-00; Fri, 29 Apr 2005 03:36:02 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DRQya-00063b-00 for ding@lists.math.uh.edu; Fri, 29 Apr 2005 03:35:56 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DRQyY-000827-Gc for ding@lists.math.uh.edu; Fri, 29 Apr 2005 03:35:54 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DRQyU-0000qE-00 for ; Fri, 29 Apr 2005 10:35:50 +0200 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-1) with ESMTP id j3T8ZS5U016368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 29 Apr 2005 10:35:38 +0200 Original-To: ding@gnus.org OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Blog: http://www.livejournal.com/users/jas4711/ X-Hashcash: 1:21:050429:ding@gnus.org::tz00W0MWCIg/ClCS:1u+p In-Reply-To: (Andrew Raines's message of "Thu, 28 Apr 2005 09:37:24 -0500") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yxa-iv X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60227 Andrew Raines writes: > I'm using Gnus 5.11 on Emacs 21.3.50/win32 (2005-01-30), with > the OEM smtpmail.elc. When submitting a message to an SMTP > server advertising STARTTLS, smtpmail never issues the verb > in response. I've poked around in smtpmail-via-smtp, and if > I comment out one line (below), smtpmail issues the verb, but > then Emacs hangs while trying to call starttls.exe. > > (if (and do-starttls > (smtpmail-find-credentials smtpmail-starttls-credentials host port) > (member 'starttls supported-extensions) > ---> ;; (numberp (process-id process))) > > My starttls.exe binary is in c:\WINDOWS, which is in > exec-path, which should be findable by Emacs: > > (executable-find "starttls") <--- C-j > "c:/WINDOWS/starttls.exe" > > Does anybody use smtpmail and STARTTLS on windows-nt > successfully? Interesting, can you find out what (process-id process) return at that point? Perhaps process-id's on Windows aren't numbers? The test is intended to see if the process is a external process (starttls) or internal network connection (plain tcp).