Configuring midPoint notifications

midPoint can email users, managers, requesters and security staff about account changes, password changes and new work items. This page explains the notifier types, mail setup and how to keep credentials out of messages.

On this page

Why midPoint notifications need deliberate configuration

Notifications in midPoint are not a default you can rely on at go-live, so they need to be designed and tested before users depend on them. Approvers wait on work items they may not know exist, requesters need to know whether their access was granted or rejected, and security staff need to see account and password events as they happen. According to the Evolveum notifications documentation, midPoint can send notifications when user records change, when accounts change, when passwords change, and when new work items are created. Those messages can go to the user concerned, the user's manager, the requester, or security staff. Each of these is a separate decision with its own audience, so a single generic setting rarely meets all of them.

The configuration effort falls before go-live because the messages carry operational weight. A missed work item means an access request stalls, and an unexpected password notice can reach the wrong mailbox if recipients are not checked. Teams should decide which events must notify which roles, confirm that each recipient can be resolved from the data midPoint holds, and run test cases for joiner, mover, leaver, request and password flows in a non-production environment. Ask your implementation partner and your own security team to agree this list in writing, because it determines who sees what about privileged accounts.

Mail delivery is the other dependency. midPoint sends through a configured mail server, and recent releases changed how strictly email addresses are validated. The 4.11 release notes describe the mail.mime.address.strict JVM property as a way to relax address validation, so teams with non-standard addresses in their directories should test that case early and confirm the setting with Evolveum's release notes before relying on it. Read the midPoint notifications reference alongside your own mail and directory data, since the notifier types and recipient expressions must match how your organization records people.

Which notifier types fit which events

midPoint sends notifications for four kinds of events: user record changes, account changes, password changes and new work items. Each event can reach different recipients, including the user, the manager, the requester and security staff. The right recipient depends on who must act on or review the event, so map each event to a recipient and a template before you build any notifier.

User record changes

These notifications fire when a user object changes, such as a new hire record arriving from an HR source or a profile attribute being edited. Decide whether the user, the manager or security staff should learn about each change, because a manager may need to know about a move while security staff may only need changes to privileged attributes. Confirm the exact notifier configuration names in the Evolveum notifications reference before you write any templates.

Notifications docs

Account changes on target systems

Account notifications cover accounts created, changed or removed on connected systems. The people who need these messages are usually the account owner and the manager, and sometimes the application owner for high-impact systems. Map each target resource to its recipients, and check whether a deprovisioning event should reach anyone outside the identity team before it is sent.

Password change events

Password notifications confirm to the user that a credential changed, and they also serve as a signal when a change was not expected. Send these to the affected user, and decide whether security staff should receive a copy for accounts with elevated access. Never place the new password, reset tokens or secrets in the message body, and test that the template only shows the event type and timestamp.

New work items for approvers

Work item notifications tell approvers, role owners and deputies that a request or certification item is waiting for them. The recipient is the assigned approver, not the requester, so the notifier must follow the work item assignment. Confirm how the notifier behaves when several approvers share a stage, and test a notification for each approval level you configure.

Notifications docs

Requester status updates

Requesters need to know when a request they submitted is approved, rejected or completed, even though they are not the person acting on it. Use the requester as the recipient for outcome events, and keep the wording free of approver comments that the requester should not see. Check how the requester is resolved when a request is made on behalf of another person.

Security staff escalation copies

Security staff should receive copies only for events that carry risk, such as privileged account changes or repeated password failures, to avoid alert fatigue. Define this list before you configure any copy rule, and record which events are excluded and why. Review the list with your security team, since the wrong recipient set creates both missed alerts and noise.

Notification options and when each fits

This table compares the main notification choices in midPoint by function: which events trigger a message, who receives it, what the message contains and how mail leaves the platform. Read each row as a decision: the option on the left fits the situation in the last column, and the trade-off in the middle column tells you what you give up. Confirm exact setting names and behavior against the notifications documentation for your midPoint version before building.

OptionTrade-offWhen it fits
Per-event notifiers for user record changesBroad coverage produces more mail and more noise for recipientsUse when HR or administrators need a record of changes to identity attributes
Per-event notifiers for account changesEach target system change can generate a message, so high-volume connectors can flood inboxesUse for sensitive target systems where owners must know about new or changed accounts
Password change notifications to the userConfirms changes to the account holder but reveals nothing useful if the user did not actUse as a baseline so users notice unexpected credential changes on their own identity
Work item notifications to approversKeeps requests moving, but a single approver with many items gets repeated remindersUse for every approval stage so no request waits unseen in a work queue
Recipient: managerAdds oversight of direct reports, but depends on the manager relationship being correct in the source dataUse when the manager needs visibility of a report's account or access changes
Recipient: requesterCloses the loop on access requests, but sends details to someone who may no longer need themUse to confirm request outcomes and rejections to the person who asked
Recipient: security staffGives central visibility for sensitive events, but volume can overwhelm a small teamUse only for narrowly defined high-risk events, such as privileged role assignments
Message content and templatesRicher detail helps recipients act, but every field added is a potential data exposure pointUse short messages with a link to the authenticated interface rather than sensitive values in the body
Mail transport settingsCorrect sender, relay and address validation are required, and an overly relaxed setting can accept malformed addressesUse the organization's approved relay, and confirm any address validation change in the 4.11 release notes before adopting it

How mail configuration affects delivery

Mail transport is a platform setup that the notifier depends on, so a notification rule can be correct and still send nothing. midPoint hands each notification to a mail server it reaches over the network, and the SMTP relay, the sender identity and the TLS settings all belong to your mail infrastructure. Before you test any notifier, ask the team that owns your mail service which relay midPoint may use, which sender address and domain are permitted, whether the relay requires authentication, and which TLS mode it expects. Confirm the relay accepts traffic from the midPoint nodes, including the address range of any load-balanced or containerized deployment, and that SPF, DKIM and DMARC are configured for the sending domain so recipients do not quarantine the mail.

midPoint 4.11 adds an option to relax email address validation with the mail.mime.address.strict JVM property. Strict validation rejects some addresses that your directory may hold, such as older or non-standard formats, and the relaxed setting lets those messages go out. Treat that change as an exception to justify, not a default to accept. Record which addresses fail under strict validation, check whether the fix belongs in the source data instead, and confirm with your security team that relaxing validation does not allow malformed or injected recipient values into messages. Keep the setting in version control so the reason stays visible.

Mail property names can differ between midPoint versions, and the JVM and mail setting you use must match the release you run. Confirm the exact property names for your version against the Evolveum notifications documentation and the midPoint 4.11 release notes before you copy them into a configuration file. Then send a test message from each environment, check the headers and the envelope sender, and confirm that a failed delivery is logged where your operators will see it.

Setting up notifications step by step

This sequence takes a midPoint deployment from version confirmation to verified notifications, so each event reaches the right recipient with a message that carries no credentials. Each step ends with a check you can record before moving on.

  1. Confirm the midPoint version and release notes

    Identify the exact midPoint version your environment runs and read the release notes for that version before changing any notification settings. The Evolveum documentation for 4.11 notes an option to relax email address validation through the mail.mime.address.strict JVM property, so confirm whether your version includes that behavior and whether your mail server accepts the addresses you use. Record the version, the Java runtime and any JVM properties in your change ticket. The step is complete when the team agrees on the version and the notification behavior it documents.

  2. Define recipients for each event

    Map every notification event to its recipient before building anything. Events cover user record changes, account changes, password changes and new work items, and each can go to the user, the manager, the requester or security staff. Ask the business owners who should see each message, and decide whether a security mailbox should receive copies of sensitive events. Write the mapping as a table with columns for event, recipient role and reason. The step is complete when the table is signed off and every event has exactly one owner.

  3. Configure the mail transport and test a sender account

    Configure the outgoing mail server in the midPoint system configuration, using the host, port, transport security and sender address your mail team provides. Create a dedicated sender account with the least privileges needed to send mail, and store its password in your secrets mechanism rather than in the configuration file. Send a plain test message from midPoint to an internal mailbox you control. The step is complete when the test message arrives, its headers show the expected sender, and the account password does not appear in logs you have reviewed.

  4. Build templates without secrets

    Write the subject and body templates for each event using only identity attributes that the recipient needs, such as display name, account name of the target system and the time of the change. Do not include passwords, one-time codes, reset tokens or secret values in any template, and do not place a password expression where it could be rendered into the body. Ask a second reviewer to read each template against the event data it receives. The step is complete when every template passes this review and a sample rendering contains no credential text.

  5. Enable the notifiers event by event

    Turn on notifiers one event type at a time, starting with the lowest-risk event such as a new work item notification. Bind each notifier to the recipient expression from the mapping you approved, and confirm that a notifier for one event does not fire for others. Keep the configuration in version control so changes can be reviewed and reverted. The step is complete when each enabled notifier appears in the configuration review with its event, recipient and template named.

  6. Test each event with a non-production identity

    Create a non-production test identity and trigger each event type in turn: a user record change, an account change, a password change and a new work item. For each one, confirm that the intended recipient receives exactly one message, that other recipients receive none, and that the body contains no credential text. Record the test results with timestamps and the message identifiers. The step is complete when every event type passes on the non-production environment and the results are filed for the production change.

  7. Promote and monitor the notifications

    Repeat the verified configuration in production through the same change process, then watch the first real events and the mail server logs for bounces, failures and unexpected recipients. Confirm with the mail team how they monitor delivery and who responds to failures. Schedule a review of the templates and recipient table whenever the midPoint version changes. The step is complete when production messages match the test results and the owner of notification failures is named.

How an event becomes a notification

A notification starts when midPoint records a change: a user record update, an account change, a password change or a new work item. midPoint selects the matching notifier, resolves the recipient (the user, their manager, the requester or security staff) and hands the message to the mail relay. The trust boundary sits at that hand-off, so the check is that templates and mail credentials are referenced from midPoint configuration and never typed into message bodies.

Event flow from midPoint through recipient resolution to the mail relay.

Keeping credentials out of messages

Notifications about accounts, password changes and work items reach mailboxes, relays and sometimes personal devices outside your control. The cards below cover the content, transport and governance controls that keep secrets out of those messages, and the checks to agree with your security team before go-live.

Why passwords never belong in bodies

A notification that carries a new password, a reset token or a one-time code turns every mailbox, archive and mail relay into a credential store. Mail is copied, forwarded and indexed in ways that are hard to revoke. Before go-live, treat any template that prints a credential value as a defect, and confirm with your security team that no account, password or token variable is rendered in a body or subject line.

Notifications docs

Event-based templates instead of values

Write templates that say what happened, such as a password was changed or an account was created, and that point the recipient to a secure channel for anything sensitive. Name the account and the event, not the value. Review each template for expressions that reach into the user or account object, because a template that is correct today can start exposing a new attribute after a schema or mapping change.

Restricting what notifications can contain

Decide which user and account attributes may appear in messages to managers, requesters and security staff. Personal data, account identifiers and internal role names may each be sensitive in different recipient groups. Keep a written list of permitted fields per notifier and recipient type, and confirm that work item notifications show a link to the request rather than its full payload.

Protecting mail server credentials

The mail account midPoint uses to send notifications is itself a high-value secret. Store its password outside the configuration files that go into version control, restrict read access to the midPoint host and its service account, and rotate the credential on a schedule your security team sets. Confirm how your deployment supplies this secret and who can view it in the administration interface.

Transport security for password-related mail

Any message that concerns passwords, reset steps or account recovery should travel over an encrypted connection to the mail relay, and the relay should be one your organization approves. Ask your security team whether internal relaying is enforced and whether opportunistic encryption fallback to plaintext is allowed. Mail address validation settings also affect what gets accepted, so review them alongside transport.

Relaxed address validation option
4.11

Change control for notification templates

Templates change over time as teams add fields, languages or recipients. Put every notification template and notifier configuration under change control, with a reviewer from security or compliance who checks for credential exposure before the change is deployed. Retest after each midPoint upgrade, because the behavior of expressions and the available variables can change between releases.

4.11 release notes

Questions teams ask about midPoint notifications

How much effort does setting up midPoint notifications take?

Effort depends mostly on how many events need a message, how many recipient rules apply to each one, and how much mail infrastructure already exists. A small set of notifications for account changes, password changes and new work items is a different job from a set that also covers requesters, managers, security staff and several templates per language. Mail relay access, approved sender identities and content sign-off add time that is often larger than the midPoint configuration itself. Ask any provider to break the estimate down by event, recipient rule, template and test cycle before accepting a number.

What does the work need from our side?

Plan to provide four things before configuration starts: access to your mail relay with the host, port and authentication method documented, one or more sender identities that your mail team has approved, a named security owner who signs off on message content, and test accounts that can trigger each notification without reaching real staff. Your team also needs to confirm which events must notify security staff and which recipients may receive personal data. Missing any of these usually stalls testing rather than configuration.

Can our internal team set up midPoint notifications alone?

Yes, a team with midPoint administration skills can configure notifiers, mail settings and templates using the Evolveum notifications documentation. The work is manageable when the event list is short and the mail relay already accepts messages from midPoint. Teams usually need outside help when recipient logic depends on the role model, when content must pass a security review, or when the same notifications must be repeated across several environments. Decide early who owns template changes after go-live, because that ownership is the part most often left unassigned.

Does the mail address validation setting in midPoint 4.11 need attention?

Yes, review it before you relax anything. midPoint 4.11 adds an option to relax email address validation through the mail.mime.address.strict JVM property, according to the midPoint 4.11 release notes. Relaxing validation can let malformed addresses reach the mail relay, so change it only after your mail team confirms which address formats your directory actually contains. Record the decision with the reason, because an auditor or security reviewer may ask why validation was changed.

How do we keep passwords and credentials out of notification messages?

Notification templates should refer to the event and a reset or request link, never to the password value, mail relay credentials or connector secrets. Store mail server credentials in the midPoint configuration handled by your secret management process rather than in template text, and restrict who can edit templates. Test with accounts that have known test passwords so you can confirm that no secret appears in logs, mail bodies or work item text. Ask the security owner to review the rendered output for each event type during testing.

What should a fixed-scope notification engagement include?

A fixed-scope engagement is agreed in writing before work starts. The written scope normally lists the events to cover, the recipient rules for each event, the sender identities and mail infrastructure in use, the templates and languages, the test plan, the environments involved and the handover to your operations team. Ask that the scope state what is excluded, such as later changes to recipient logic or new event types. DeployOpen provides a quote from the written scope, and it does not publish a price list.

What costs recur after notifications go live?

Most of the cost is one-time: design, configuration, template review and testing. Recurring costs come from changes to events and recipients as the role model and org structure evolve, mail relay changes, template revisions after security review, and checks when midPoint is upgraded. Ask any provider which of these are included in the fixed scope, which are covered by a retainer, and how changes after handover are requested and priced.

How DeployOpen works on this

DeployOpen plans and builds midPoint notifications inside your own infrastructure, starting from the messages your users, managers and requesters should receive. Each notifier, mail setting and credential decision is written down before build, so your security and identity teams can review the configuration.

How we scope

  • Inventory which events need messages: account changes, password changes, user record changes and new work items
  • Agree which recipients get each message: the user, the manager, the requester or security staff
  • Confirm the mail relay, sender identity and address validation approach before any build work starts

How we build

  • Configure notifiers and message templates in a non-production midPoint environment first
  • Keep SMTP credentials and secrets out of message bodies and out of exported configuration
  • Test each notifier with sample events and check that recipients and content match the written design

How we hand over

  • Document each notification, its trigger, recipients, template and the mail settings it depends on
  • Walk your operations team through testing steps so they can verify changes after upgrades
  • Deliver the configuration and documentation as part of the fixed scope agreed in writing

How we support

  • Ongoing support, upgrades and retesting of notifications are available as a retainer
  • Review notification behavior when midPoint moves between supported releases
  • Ask any partner to confirm current release support dates with Evolveum before planning changes

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.