1.1.6 • Published 3 years ago

@mailprotector/haraka-plugin-rcpt-http v1.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

haraka-plugin-rcpt-http

A Haraka plugin for validating recipient addresses against an HTTP endpoint.

Install

Install with npm

npm install @mailprotector/haraka-plugin-rcpt-http --save

Setup

Enable Plugin

Add to plugin file in the haraka config folder

@mailprotector/haraka-plugin-rcpt-http

Config

Config options are set in rcpt_http.json:

ParameterDescriptionTypeDefault Value
USERNAMEHTTP server usernamestringnone
PASSWORDHTTP server passwordstringnone
RCPT_CHECK_URLThe URL endpoint of the HTTP serverstringnone

Details

The http API call uses a POST to RCPT_URL with basic auth if a USERNAME and PASSWORD are provided in config. Without the User/Pass will do an unauthenticated POST to RCPT_URL.

The following POST body will be sent to RCPT_URL

{
  email: params[0].original,
  ip: connection.remote.ip
}

alt text About Mailprotector

1.1.6

3 years ago

1.1.5

3 years ago

1.1.1

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago