My Oracle Support Banner

OUD: SMTP Account Status Notification Email not Being Sent, Debug Log Error: "No end user recipients, and shouldn't send without end user recipients" (Doc ID 2899591.1)

Last updated on OCTOBER 07, 2022

Applies to:

Oracle Unified Directory - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Configured SMTP Account Status Notification Handler for Oracle Unified Directory (OUD) as described in documentation:

Oracle® Fusion Middleware Administering Oracle Unified Directory 12c (12.2.1.4.0)
Chapter 35 Monitoring Oracle Unified Directory
Section 35.4.2 Managing Account Status Notification Handlers

Setup the property account-status-notification-handler of password policy to use SMTP handler.

For email notifications to work, set a value for the global property "smtp-server" as specified in:

Oracle® Fusion Middleware Administering Oracle Unified Directory 12c (12.2.1.4.0)
Chapter 17 Configuring the Server Instance
Section 17.5.3.3 Configuring Task Notification

How to Create SMTP Server Global Configuration Property for Oracle Unified Directory (Doc ID 2214669.1)

Also reviewed:
OUD - Unable to Set SMTP Handler Email Notification for Password Changes for Root User (Doc ID 2227781.1)
OUD : What is the Message-Template-File Configuration for the SMTP Account Status Notification Handler? (Doc ID 1617465.1)

Using ldappasswordmodify as well as ldapmodify commands to reset the password of a user.

Error log shows successful password-reset but an  email noitification is not being sent.

There is no outgoing email even if the user is assigned the default policy.

Verified “SMTP Handler” Account Status notification handler, and recipient-address and send-address are setup, e.g.:

After turning on debug logging (Doc ID 2454054.1), the following is shown in the log file:

...
[01/Sep/2022:11:01:40 -0400] 142334 message info thread={Worker Thread 5(294)} threadDetail={parentThread=main(1) isDaemon=false clientConnection=LDAP client connection from <ip address:port> to <ip address:port> operation=ExtendedOperation(connID=62810, opID=1, oid=1.3.6.1.4.1.4203.1.11.1) } method={handleStatusNotification(SMTPAccountStatusNotificationHandler.java:614)} No end user recipients, and shouldn't send without end user recipients
Stack Trace:
  java.lang.Thread.getStackTrace(Thread.java:1559)
  org.opends.server.loggers.debug.DebugTracer.debugMessage(DebugTracer.java:739)
  org.opends.server.loggers.debug.DebugTracer.debugInfo(DebugTracer.java:618)
  org.opends.server.extensions.SMTPAccountStatusNotificationHandler.handleStatusNotification(SMTPAccountStatusNotificationHandler.java:614)
  org.opends.server.core.PasswordPolicyState.generateAccountStatusNotification(PasswordPolicyState.java:4744)
  org.opends.server.core.PasswordPolicyState.generateAccountStatusNotification(PasswordPolicyState.java:4720)
  org.opends.server.workflowelement.localbackend.LocalBackendModifyOperation.handleAccountStatusNotifications(LocalBackendModifyOperation.java:2579)
  org.opends.server.workflowelement.localbackend.LocalBackendModifyOperation.processLocalModify(LocalBackendModifyOperation.java:893)
  org.opends.server.workflowelement.localbackend.LocalBackendWorkflowElement.execute(LocalBackendWorkflowElement.java:214)
  org.opends.server.core.WorkflowImpl.execute(WorkflowImpl.java:504)
  org.opends.server.core.WorkflowTopologyNode.execute(WorkflowTopologyNode.java:130)
  org.opends.server.core.ModifyOperationBasis.run(ModifyOperationBasis.java:622)
  org.opends.server.protocols.internal.InternalClientConnection.processModify(InternalClientConnection.java:1731)
  org.opends.server.protocols.internal.InternalClientConnection.processModify(InternalClientConnection.java:1698)
  org.opends.server.extensions.PasswordModifyExtendedOperation.processExtendedOperation(PasswordModifyExtendedOperation.java:952)
  com.sun.dps.extensions.VDPPasswordModifyExtendedOperation.processExtendedOperation(VDPPasswordModifyExtendedOperation.java:165)
  org.opends.server.core.ExtendedOperationBasis.run(ExtendedOperationBasis.java:518)
  org.opends.server.extensions.TraditionalWorkerThread.run(TraditionalWorkerThread.java:166)
...

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.