]> granicus.if.org Git - mutt/commitdiff
Turn on $ssl_force_tls by default.
authorKevin McCarthy <kevin@8t8.us>
Sun, 26 May 2019 21:34:42 +0000 (14:34 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sun, 26 May 2019 21:34:42 +0000 (14:34 -0700)
Ticket #135 suggests that these days, it's better to force encryption
over all connections.  RFC8314 is recommending MUA's move in that
direction (actually even directing towards implicit TLS over
STARTTLS).

I'm enabling this at the beginning of the 1.13 development cycle to
give others time to chime in with any objections.  Personally, I've
had this option set myself for years.  The only place it could become
an issue is for a localhost IMAP server with no cert.  In that case,
it's easy enough to have an account hook unset if needed, and I think
a better idea that the user be forced to turn it off.

init.h

diff --git a/init.h b/init.h
index dcb157f09e1fc2cfa4b3078631ee275157817750..1590b4adca981761718d9242d32525c26e697cf6 100644 (file)
--- a/init.h
+++ b/init.h
@@ -3687,7 +3687,7 @@ struct option_t MuttVars[] = {
   ** The file containing a client certificate and its associated private
   ** key.
   */
-  { "ssl_force_tls",           DT_BOOL, R_NONE, OPTSSLFORCETLS, 0 },
+  { "ssl_force_tls",           DT_BOOL, R_NONE, OPTSSLFORCETLS, 1 },
   /*
   ** .pp
   ** If this variable is \fIset\fP, Mutt will require that all connections