GNU bug report logs -
#14367
24.3; smtpmail-send-it starttls ignores the absence of starttls
Previous Next
Reported by: sea <sea <at> members.fsf.org>
Date: Wed, 8 May 2013 06:46:02 UTC
Severity: minor
Found in version 24.3
Done: sea <sea <at> members.fsf.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 14367 <at> debbugs.gnu.org (full text, mbox):
sea wrote:
> I've just noticed that if smtpmail-send-it is configured to use
> starttls,
How did you do that, precisely?
> and if gnutls-cli (or whatever tls client you use) is /not/ installed
> on the system, then EMacs will go ahead and attempt to send the email
> without TLS anyway, usually resulting in an authentication error.
From etc/NEWS:
*** SMTPmail now uses encrypted connections (via STARTTLS) by default
if the mail server supports them. This uses either built-in GnuTLS
support, or the starttls.el library. Customize `smtpmail-stream-type'
to change this.
From C-h v smtpmail-stream-type:
smtpmail-stream-type is a variable defined in `smtpmail.el'.
Its value is nil
Documentation:
Type of SMTP connections to use.
This may be either nil (possibly upgraded to STARTTLS if possible),
or `starttls' (refuse to send if STARTTLS isn't available), or `plain'
(never use STARTTLS), or `ssl' (to use TLS/SSL).
So maybe setting that to `starttls' will have the desired effect?
This bug report was last modified 12 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.