1.1.0 • Published 1 year ago

haraka-plugin-rcpt-ldap v1.1.0

Weekly downloads
542
License
MIT
Repository
github
Last release
1 year ago

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.