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');
4
4
const { DKIMSign} = require ( 'dkim-signer' ) ;
5
5
const CRLF = '\r\n' ;
6
6
7
- console . info ( 'NEW VERSION WITH TLS UPGRADE CONFIGS' ) ;
8
-
9
7
function dummy ( ) { }
10
8
module . exports = function ( options ) {
11
9
options = options || { } ;
@@ -187,7 +185,6 @@ module.exports = function (options) {
187
185
//* 220 on server ready
188
186
//* 220 服务就绪
189
187
if ( upgraded === "in-progress" ) {
190
- logger . info ( 'UPGRADING TO TLS!!' ) ;
191
188
sock . removeAllListeners ( 'data' ) ;
192
189
193
190
let original = sock ;
@@ -251,11 +248,9 @@ module.exports = function (options) {
251
248
case 250 : // operation OK
252
249
if ( upgraded != true ) {
253
250
if ( / \b S T A R T T L S \b / i. test ( msg ) ) {
254
- logger . info ( 'CHECKING STARTTLS SHOWED TRUE' ) ;
255
251
w ( 'STARTTLS' ) ;
256
252
upgraded = "in-progress" ;
257
253
} else {
258
- logger . info ( 'CHECKING STARTTLS SHOWED FALSE' ) ;
259
254
upgraded = true ;
260
255
}
261
256
You can’t perform that action at this time.
0 commit comments