From ec96fa921ed8b0d95cbd6045305f030d63537fb3 Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 16 Jan 2024 19:46:40 +0200 Subject: [PATCH] fix Smtp/Ads to NOT store users primary mail address as forward if forwardOnly is not set, like we do it for UCS --- api/src/Mail/Smtp/Ads.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Mail/Smtp/Ads.php b/api/src/Mail/Smtp/Ads.php index 210829addd..d2a402ff9a 100644 --- a/api/src/Mail/Smtp/Ads.php +++ b/api/src/Mail/Smtp/Ads.php @@ -89,7 +89,7 @@ class Ads extends Ldap /** * Attribute to only forward mail, OR false if not available */ - const FORWARD_ONLY_ATTR = 'proxyaddresses'; + const FORWARD_ONLY_ATTR = false; /** * Value of forward-only attribute, if not set any value will switch forward only on (checked with =*) @@ -166,4 +166,4 @@ class Ads extends Ldap { return static::DESCRIPTION; } -} +} \ No newline at end of file