GNU bug report logs - #9615
smtpmail: erroneous STARTTLS capability check

Previous Next

Package: emacs;

Reported by: ludovic.courtes <at> inria.fr (Ludovic Courtès)

Date: Tue, 27 Sep 2011 16:23:01 UTC

Severity: normal

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludovic.courtes <at> inria.fr (Ludovic Courtès)
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: bug-emacs <at> gnu.org
Subject: smtpmail: erroneous STARTTLS capability check
Date: Tue, 27 Sep 2011 18:13:08 +0200
Hello,

smptmail.el reads this (since revision 104665):

		   (lambda (capabilities)
		     (and (string-match "-STARTTLS" capabilities)
			  "STARTTLS\r\n"))

This check doesn’t work with the Zimbra SMTP server I’m using, which has
this capability string:

  "250-mail1-xyz.fr\n250-8BITMIME\n250-SIZE 20971520\n250 STARTTLS\n"

(Note the lack of a hyphen before “STARTTLS”.)

Removing the hyphen in the ‘string-match’ call above fixes the problem.

Thanks,
Ludo’.




This bug report was last modified 13 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.