File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ const {resolveMx} = require('dns');
44const { DKIMSign} = require ( 'dkim-signer' ) ;
55const CRLF = '\r\n' ;
66
7- console . info ( 'NEW VERSION WITH TLS UPGRADE CONFIGS' ) ;
8-
97function dummy ( ) { }
108module . exports = function ( options ) {
119 options = options || { } ;
@@ -187,7 +185,6 @@ module.exports = function (options) {
187185 //* 220 on server ready
188186 //* 220 服务就绪
189187 if ( upgraded === "in-progress" ) {
190- logger . info ( 'UPGRADING TO TLS!!' ) ;
191188 sock . removeAllListeners ( 'data' ) ;
192189
193190 let original = sock ;
@@ -251,11 +248,9 @@ module.exports = function (options) {
251248 case 250 : // operation OK
252249 if ( upgraded != true ) {
253250 if ( / \b S T A R T T L S \b / i. test ( msg ) ) {
254- logger . info ( 'CHECKING STARTTLS SHOWED TRUE' ) ;
255251 w ( 'STARTTLS' ) ;
256252 upgraded = "in-progress" ;
257253 } else {
258- logger . info ( 'CHECKING STARTTLS SHOWED FALSE' ) ;
259254 upgraded = true ;
260255 }
261256
You can’t perform that action at this time.
0 commit comments