@mailprotector/haraka-plugin-smtp-auth

1.0.3 • Public • Published

haraka-plugin-smtp-auth

A Haraka plugin for connecting to an HTTP endpoint to get a response.

Install

Install with npm

npm install @mailprotector/haraka-plugin-smtp-auth --save

Setup

Enable Plugin

Add to plugin file in the haraka config folder

@mailprotector/haraka-plugin-smtp-auth

Config

Config options are set in smtp_auth.json:

Parameter Description Type Default Value
USERNAME HTTP server username string none
PASSWORD HTTP server password string none
AUTH_URL The URL endpoint of the HTTP server string none

Details

The http API call uses a POST to AUTH_URL.

The following POST body will be sent to AUTH_URL. If USERNAME and PASSWORD are not empty, Basic Authentication will be used.

{
  username: 
  password: 
}

alt text About Mailprotector

Package Sidebar

Install

npm i @mailprotector/haraka-plugin-smtp-auth

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

295 kB

Total Files

17

Last publish

Collaborators

  • djatmp
  • andy.mailprotector
  • danwagoner
  • ben.hathaway