Socket
Socket
Sign inDemoInstall

smtp-server

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp-server - npm Package Compare versions

Comparing version 1.12.0 to 1.13.0

4

CHANGELOG.md
# 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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc