diff --git a/index.js b/index.js index fce3316..5f9c7ad 100755 --- a/index.js +++ b/index.js @@ -35,6 +35,7 @@ if (config.auth) { const mails = []; const server = new SMTPServer({ + disabledCommands: ['STARTTLS'], authOptional: true, maxAllowedUnauthenticatedCommands: 1000, onMailFrom(address, session, cb) {