Skip to content

Commit

Permalink
Disable secure connections
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeBiellik committed Aug 5, 2017
1 parent 31c29b4 commit a045454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const server = new SMTPServer({
name: config.mail.hostname,
banner: config.mail.banner,
secure: false,
disabledCommands: ['AUTH'],
disabledCommands: ['AUTH', 'STARTTLS'],
onRcptTo: (address, session, callback) => {
// Only accept whitelisted recipient address domains
for (const domain of config.mail.domains) {
Expand Down

0 comments on commit a045454

Please sign in to comment.