Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

haraka-plugin-rspamd

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-plugin-rspamd - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

3

Changes.md

@@ -0,2 +1,5 @@

## 1.1.6 - 2020-02-29
- Allow connecting to rspamd via unix sockets
## 1.1.5 - 2019-04-01

@@ -3,0 +6,0 @@

13

index.js

@@ -70,4 +70,2 @@ 'use strict';

headers: {},
port: plugin.cfg.main.port,
host: plugin.cfg.main.host,
path: '/checkv2',

@@ -77,2 +75,10 @@ method: 'POST',

if (plugin.cfg.main.unix_socket) {
options.socketPath = plugin.cfg.main.unix_socket;
}
else {
options.port = plugin.cfg.main.port;
options.host = plugin.cfg.main.host;
}
if (connection.notes.auth_user) {

@@ -190,3 +196,4 @@ options.headers.User = connection.notes.auth_user;

connection.transaction.add_header(key, header_value.value);
} else {
}
else {
connection.transaction.add_header(key, header_value);

@@ -193,0 +200,0 @@ }

{
"name": "haraka-plugin-rspamd",
"version": "1.1.5",
"version": "1.1.6",
"description": "Haraka plugin for rspamd",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,2 +27,6 @@ [![Build Status][ci-img]][ci-url]

- unix_socket
Path to a unix socket to connect to. If set, overrides host and port.
- add\_headers

@@ -29,0 +33,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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