From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: edburns Newsgroups: gmane.emacs.help Subject: Please excuse this XEmacs user's desperation: smtpmail.el over SSL Date: Mon, 29 Mar 2010 19:02:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3af47939-f589-4102-8b84-6724f8a18e1e@y17g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1273057587 32489 80.91.229.12 (5 May 2010 11:06:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 11:06:27 +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:06:26 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 1O9cQo-0000iJ-La for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 13:06:22 +0200 Original-Received: from localhost ([127.0.0.1]:37408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9cQn-00010G-Ej for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 07:06:21 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!y17g2000yqd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: 99.159.213.117 Original-X-Trace: posting.google.com 1269914525 11724 127.0.0.1 (30 Mar 2010 02:02:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 30 Mar 2010 02:02:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y17g2000yqd.googlegroups.com; posting-host=99.159.213.117; posting-account=hpA2lgoAAAA5PzLJuLauTIY9TEinAMQ9 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.3 (KHTML, like Gecko) Chrome/5.0.360.0 Safari/533.3, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177594 X-Mailman-Approved-At: Tue, 04 May 2010 16:49:09 -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:73375 Archived-At: I know this is GNU emacs, not XEmacs, but I've never had the chutzpa to migrate. I'm very sorry. Please excuse me. If anyone can help me here, I would really be grateful. I've spent many hours in edebug mode and still am no closer to a solution than when I started. Hello distinguished lisp programmers, I have asked Mr. Simon Josefsson to help with this but have received no reply in over a week of waiting. I sincerely hope you can help me. When Oracle bought my employer, Sun Microsystems, naturally they migrated all the users to Oracle's mail server. The configuration I had working no longer works. Oracle's mail server wants AUTH LOGIN over an SSL connection. I have a plain vanilla XEmacs 21.4.22 installation (with mail-lib version 1.80, VM version 8.0.12-devo-585), which I'm starting with xemacs --vanilla &. Then, I'm evaluating a region including the following expressions. (setq starttls-use-gnutls t) (setq starttls-gnutls-program "gnutls-cli") (setq send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("stbeehive.oracle.com" 465 nil nil)) smtpmail-auth-credentials (expand-file-name "~/.authinfo") smtpmail-default-smtp-server "stbeehive.oracle.com" smtpmail-smtp-server "stbeehive.oracle.com" smtpmail-smtp-service 465 smtpmail-debug-info t) (require 'smtpmail) FYI: gnutl-cli is on my path bash-3.00$ gnutls-cli-debug --version gnutls-cli (GnuTLS) 2.2.0 However we don't even get that far. I'm finding that XEmacs hangs within smtpmail.el at this line: (defun smtpmail-open-stream (process-buffer host port) (let ((cred (smtpmail-find-credentials smtpmail-starttls-credentials host port))) (if (null (and cred (condition-case () ;; XEmacs change (with-boundp '(starttls-use-gnutls starttls-gnutls-program starttls-program) (require 'starttls) (call-process (if starttls-use-gnutls starttls-gnutls-program starttls-program))) (error nil)))) ;; The normal case. => (open-network-stream "SMTP" process-buffer host port) (let* ((cred-key (smtpmail-cred-key cred)) (cred-cert (smtpmail-cred-cert cred)) host is stbeehive.oracle.com port is 465 Can anyone help me here? I mean, open-network-stream is just opening a simple TCP connection. That happens before SSL is established, right? Can anyone please help? Sincerely, Ed Burns