Your message dated Tue, 20 May 2014 10:47:36 -0700 (PDT) with message-id <[email protected]> and subject line Re: Bug#360495 has caused the Debian Bug report #360495, regarding emacs21-common: smtpmail-open-stream does not use starttls properly to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 360495: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360495 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: emacs21-common Version: 21.4a-3 Severity: normal While configuring Gnus to use authenticated SMTP, I noticed that the function smtpmail-open-stream in module smtpmail does not invoke starttls-open-stream when smtp authentication information is provided. In order to get my configuration to work, I found it necessary to modify smtpmail-open-stream as follows. I have commented out the code that tests whether the starttls/gnutls executable exists, because it returns null and the test for whether to use starttls fails. *** smtpmail.el.bak 2006-04-02 13:48:05.000000000 -0400 --- smtpmail.el 2006-04-02 13:38:48.000000000 -0400 *************** *** 471,485 **** (defun smtpmail-open-stream (process-buffer host port) (let ((cred (smtpmail-find-credentials smtpmail-starttls-credentials host port))) ! (if (null (and cred (condition-case () ! (with-no-warnings ! (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)) (starttls-extra-args --- 471,487 ---- (defun smtpmail-open-stream (process-buffer host port) (let ((cred (smtpmail-find-credentials smtpmail-starttls-credentials host port))) ! (if (null cred) ! ;; (if (null (and cred (condition-case () ! ;; (with-no-warnings ! ;; (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) + (require 'starttls) (let* ((cred-key (smtpmail-cred-key cred)) (cred-cert (smtpmail-cred-cert cred)) (starttls-extra-args -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686-smp Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) Versions of packages emacs21-common depends on: ii dpkg 1.13.16 package maintenance system for Deb ii emacsen-common 1.4.17 Common facilities for all emacsen emacs21-common recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---The relevant code was extensively changed in 24.1 (Emacs now uses builtin TLS support), it looks to me like this issue no longer applies. The entire function smtpmail-open-stream no longer exists. If there is still an issue in the latest Emacs version, 24.3, I suggest opening a new report directly with upstream.
--- End Message ---

