nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
857 stars 145 forks source link

added an options to set max allowed unauthenticated commands #93

Closed o4oren closed 7 years ago

o4oren commented 7 years ago

The use case is when using SMTP with authentication for sending emails (IE not blacklisting AUTH), but smtp receiving is blocked at max 10 unauthenticated commands, which limits the amount of RCPT TO commands it can get. So setting options.maxAllowedUnauthenticatedCommands to -1 will make it unlimited. Any other number will also work, and the default is 10, as you set it originally. Thanks