From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: edburns Newsgroups: gmane.emacs.help Subject: Re: Please excuse this XEmacs user's desperation: smtpmail.el over SSL Date: Thu, 1 Apr 2010 12:46:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: <164493a1-a311-4f8b-a24d-c3bac118b6a4@r27g2000yqn.googlegroups.com> References: <3af47939-f589-4102-8b84-6724f8a18e1e@y17g2000yqd.googlegroups.com> <87hbnx22hm.fsf@fh-trier.de> <87d3yl225a.fsf@fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1273058477 3459 80.91.229.12 (5 May 2010 11:21:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 11:21:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 13:21:16 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9cfD-0006wa-Di for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 13:21:15 +0200 Original-Received: from localhost ([127.0.0.1]:58626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9cfC-0006uG-O0 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 07:21:14 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!r27g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 75 Original-NNTP-Posting-Host: 99.159.213.117 Original-X-Trace: posting.google.com 1270151177 12363 127.0.0.1 (1 Apr 2010 19:46:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 1 Apr 2010 19:46:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r27g2000yqn.googlegroups.com; posting-host=99.159.213.117; posting-account=hpA2lgoAAAA5PzLJuLauTIY9TEinAMQ9 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177627 X-Mailman-Approved-At: Tue, 04 May 2010 16:52:04 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73383 Archived-At: EB> (defun smtpmail-open-stream (process-buffer host port) EB> (let ((cred (smtpmail-find-credentials EB> smtpmail-starttls-credentials host port))) AP> ===> (if (null (and cred (condition-case () AP> Either `cred' is unbound at this point, or there is an error inside AP> the condition-case. So the questions are : AP> a) What is the value of `cred' ? Value: ("stbeehive.oracle.com" 465 nil nil) In edebug, after obtaining the value of cred, I continued to press the space bar until point reached the character in smtp.el shown here => (starttls-open-stream "SMTP" process-buffer host port))))) -----------------------------------------------------------^ At that point, this appeared in the minibuffer Result: # The next press of the spacebar (edebug-step-mode) moved the cursor to here: => (starttls-open-stream "SMTP" process-buffer host port))))) ------------------------------------------------------------^ and xemacs froze for about 30 seconds and then I see this message in the minibuffer. Process not open for writing: # The start of the expression that I suppose was responsible for the freeze is the (let) itself, that is the body of the smtpmail-open- stream (defun). AP> b) What happens (error or not) if you remove the condition-case AP> from this function ? Symbol's function definition is void: with-boundp So I googled around and found a definition of with-boundp at . I copied this into smtpmail.el, made sure it was bound and re-ran the mail send. Then it *did* step into the starttls-open-stream method. Is it possible that the version of smtpmail.el included with version 1.80 of mail-lib (which I got using the package mechanism as the latest version) is not supported with my version of xemacs: 21.4.22. By the way, xemacs 21.4.22 *is* the lastest stable version? TZ> Can you connect to the server with gnutls-cli from the command line? I tried this right away, in fact. I'm not sure what to expect. I certainly did not get the SMTP banner, which I see when using Thunderbird NSPR logging to be: 220 default ESMTP Oracle Beehive Gateway; ..... I just see that it hangs. Should I see the SMTP banner?