haraka-plugin-rcpt-ldap

Haraka plugin that validates recipients against an LDAP server


Keywords
haraka, plugin, rcpt-ldap
License
MIT
Install
npm install haraka-plugin-rcpt-ldap@1.1.0

Documentation

Build Status Code Climate NPM

haraka-plugin-rcpt-ldap

This plugin tries to validate recipients against an LDAP server. This will help in replacing an existing qmail-ldap installation with Haraka.

The plugin assumes simple qmail-ldap style LDAP records. It is completely configurable using the config/rcpt_to.ldap.ini file.

The logic that is followed is:

  • Check if the recipient is for a local domain (ie. check if the domaiin is present in host_list)

  • Check if the recipient is already whitelisted

  • Run an LDAP search to see if the recipient can be found in LDAP.