all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: edburns <edburns@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Please excuse this XEmacs user's desperation: smtpmail.el over  SSL
Date: Thu, 1 Apr 2010 12:46:16 -0700 (PDT)	[thread overview]
Message-ID: <164493a1-a311-4f8b-a24d-c3bac118b6a4@r27g2000yqn.googlegroups.com> (raw)
In-Reply-To: 87d3yl225a.fsf@fh-trier.de


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: #<network connection "SMTP" (465 . "stbeehive.oracle.com")
state: run>

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: #<network connection "SMTP" (465 .
"stbeehive.oracle.com") state: exit>

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
<http://membled.com/lib/xemacs-21.5-b27/lisp/bytecomp-runtime.el>.  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?


  reply	other threads:[~2010-04-01 19:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30  2:02 Please excuse this XEmacs user's desperation: smtpmail.el over SSL edburns
2010-03-30  3:25 ` edburns
2010-03-30 13:30 ` Christian Dietrich
2010-03-30 15:19   ` edburns
2010-03-30 16:33 ` Andreas Politz
2010-03-30 16:41   ` Andreas Politz
2010-04-01 19:46     ` edburns [this message]
2010-04-02  4:42       ` Andreas Politz
2010-03-31 13:39 ` Ted Zlatanov
2010-04-01 19:46   ` edburns
2010-04-05 14:30     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=164493a1-a311-4f8b-a24d-c3bac118b6a4@r27g2000yqn.googlegroups.com \
    --to=edburns@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.