From 72c902d70a1190de00462d575d45d3d507d3f4c3 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 2 Sep 2024 15:17:19 -0700 Subject: [PATCH] remove optional dependency on ldap plugins, because (#3399) ldapjs is unsupported upstream. See https://github.com/ldapjs/node-ldapjs --- Changes.md | 6 ++++++ config/plugins | 2 -- config/smtp.ini | 1 + package.json | 2 -- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Changes.md b/Changes.md index 29017dab8..af54f1354 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,11 @@ ### Unreleased + +#### Changed + +- removed dependency on ldap plugins #3399 + + ### [3.0.4] - 2024-08-21 #### Added diff --git a/config/plugins b/config/plugins index f2ebee677..03a30e217 100644 --- a/config/plugins +++ b/config/plugins @@ -38,7 +38,6 @@ # ---------- # auth/flat_file # auth/auth_proxy -# auth/auth_ldap # MAIL FROM # ---------- @@ -50,7 +49,6 @@ mail_from.is_resolvable # At least one rcpt_to plugin is REQUIRED for inbound email. rcpt_to.in_host_list # qmail-deliverable -# rcpt_to.ldap # rcpt_to.routes # DATA diff --git a/config/smtp.ini b/config/smtp.ini index 8e74a899c..142bab332 100644 --- a/config/smtp.ini +++ b/config/smtp.ini @@ -22,6 +22,7 @@ ;ignore_bad_plugins=0 ; Run using cluster to fork multiple backend processes +; Ref: https://github.com/haraka/Haraka/wiki/Performance-Tuning ;nodes=cpus ; Daemonize diff --git a/package.json b/package.json index fe66fc012..232db0f74 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "haraka-plugin-aliases": "^1.0.2", "haraka-plugin-asn": "^2.0.3", "haraka-plugin-attachment": "^1.1.2", - "haraka-plugin-auth-ldap": "^1.1.0", "haraka-plugin-avg": "^1.1.0", "haraka-plugin-bounce": "1.0.2", "haraka-plugin-clamd": "1.0.1", @@ -70,7 +69,6 @@ "haraka-plugin-messagesniffer": "^1.0.0", "haraka-plugin-p0f": "^1.0.9", "haraka-plugin-qmail-deliverable": "^1.2.3", - "haraka-plugin-rcpt-ldap": "^1.1.0", "haraka-plugin-recipient-routes": "^1.2.0", "haraka-plugin-rspamd": "^1.3.1", "haraka-plugin-spamassassin": "^1.0.0",