smtp-server
Advanced tools
Comparing version 1.12.0 to 1.13.0
# Changelog | ||
## v1.13.0 2016-07-29 | ||
* Added new option `disableReverseLookup` to skip reverse resolving client hostname on connection | ||
## v1.12.0 2016-07-25 | ||
@@ -4,0 +8,0 @@ |
@@ -123,2 +123,3 @@ 'use strict'; | ||
SMTPConnection.prototype.connectionReady = function (next) { | ||
// Resolve hostname for the remote IP | ||
@@ -152,2 +153,7 @@ var reverseCb = function (err, hostnames) { | ||
// Skip reverse name resolution if disabled. | ||
if (this._server.options.disableReverseLookup) { | ||
return reverseCb(null, false); | ||
} | ||
try { | ||
@@ -154,0 +160,0 @@ // dns.reverse throws on invalid input, see https://github.com/nodejs/node/issues/3112 |
{ | ||
"name": "smtp-server", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "Create custom SMTP servers on the fly", | ||
@@ -5,0 +5,0 @@ "main": "lib/smtp-server.js", |
@@ -45,2 +45,3 @@ # smtp-server | ||
* **options.allowInsecureAuth** optional boolean, if set to true allows authentication even if connection is not secured first | ||
* **options.disableReverseLookup** optional boolean, if set to true then does not try to reverse resolve client hostname | ||
* **options.sniOptions** optional [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) or an object of TLS options for SNI where servername is the key. Overrided by SNICallback. | ||
@@ -47,0 +48,0 @@ * **options.logger** optional [bunyan](https://github.com/trentm/node-bunyan) compatible logger instance. If set to `true` then logs to console. If value is not set or is `false` then nothing is logged |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141099
2972
462