Haraka plugin that validates recipients against an LDAP server
npm install haraka-plugin-rcpt-ldap[![Build Status][ci-img]][ci-url]
[![Code Climate][clim-img]][clim-url]
[![NPM][npm-img]][npm-url]
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.
[ci-img]: https://github.com/haraka/haraka-plugin-rcpt-ldap/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/haraka/haraka-plugin-rcpt-ldap/actions/workflows/ci.yml
[clim-img]: https://codeclimate.com/github/haraka/haraka-plugin-rcpt-ldap/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/haraka-plugin-rcpt-ldap
[gk-img]: https://badges.greenkeeper.io/haraka/haraka-plugin-rcpt-ldap.svg
[gk-url]: https://greenkeeper.io/
[npm-img]: https://nodei.co/npm/haraka-plugin-rcpt-ldap.png
[npm-url]: https://www.npmjs.com/package/haraka-plugin-rcpt-ldap