Skip to content

Commit b76e5b2

Browse files
update
1 parent cea6da7 commit b76e5b2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sendmail.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ const {resolveMx} = require('dns');
44
const {DKIMSign} = require('dkim-signer');
55
const CRLF = '\r\n';
66

7-
console.info('NEW VERSION WITH TLS UPGRADE CONFIGS');
8-
97
function dummy () {}
108
module.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(/\bSTARTTLS\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

0 commit comments

Comments
 (0)