Changeset:
        23726c727625
        
https://sourceforge.net/p/mrbs/hg-code/ci/23726c7276256da712059153795fef02208f5c9e
Author:
        John Beranek <[email protected]>
Date:
        Mon Feb 27 20:51:27 2017 +0000
Log message:

Set the default value of $smtp_settings['secure'] to '', so that TLS
will not be attempted without the SMTP server advertising TLS support.

diffstat:

 web/systemdefaults.inc.php |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 623bbe92e607 -r 23726c727625 web/systemdefaults.inc.php
--- a/web/systemdefaults.inc.php        Sun Feb 26 20:02:58 2017 +0000
+++ b/web/systemdefaults.inc.php        Mon Feb 27 20:51:27 2017 +0000
@@ -1074,7 +1074,10 @@
 $smtp_settings['host'] = 'localhost';  // SMTP server
 $smtp_settings['port'] = 25;           // SMTP port number
 $smtp_settings['auth'] = FALSE;        // Whether to use SMTP authentication
-$smtp_settings['secure'] = 'tls';      // Encryption method: '', 'tls' or 'ssl'
+$smtp_settings['secure'] = '';         // Encryption method: '', 'tls' or 
'ssl' - note that 'tls' means TLS is used even if the SMTP
+                                       // server doesn't advertise it. 
Conversely if you specify '' and the server advertises TLS, TLS
+                                       // will be used, unless the 
'disable_opportunistic_tls' configuration parameter shown below is
+                                       // set to true.
 $smtp_settings['username'] = '';       // Username (if using authentication)
 $smtp_settings['password'] = '';       // Password (if using authentication)
 $smtp_settings['disable_opportunistic_tls'] = false; // Set this to true to 
disable

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to