Skip to content

Password expiration notifications not delivered #7644

@nrauso

Description

@nrauso

When the password expiration warning is enabled and an internal mail server is configured as the SMTP server, password expiration notifications are not delivered to users.

Steps to reproduce

  • On a freshly installed NS8 cluster, install a mail server and set it as the SMTP server for cluster notifications;
  • Install and configure a Samba AD internal user domain, and set a password expiration policy;
  • Enable the password expiration warning for the configured user domain.

Expected behavior

Password expiration warnings should be sent via email to users, respecting the "Days before expiration" setting.

Actual behavior

No email notifications are delivered. This appears to be because the AD user domain is not recognized as an internal mail domain, causing delivery failures.
This is the relevant log:

Sep 22 11:28:02 node2 postfix/cleanup[682146]: CC515101440B9: message-id=<20250922092802.CC515101440B9@mail.test.org>
Sep 22 11:28:03 node2 postfix/qmgr[682099]: CC515101440B9: from=<no-reply@test.org>, size=802, nrcpt=1 (queue active)
Sep 22 11:28:03 node2 postfix/smtpd[682142]: disconnect from cluster-localnode[10.5.4.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 22 11:28:03 node2 postfix/smtp[682148]: CC515101440B9: to=<testuser@ad.test.org>, relay=none, delay=0.34, delays=0.26/0.01/0.06/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=ad.test.org type=AAAA: Host not found)
Sep 22 11:28:03 node2 postfix/cleanup[682146]: 29CDD1013EB4E: message-id=<20250922092803.29CDD1013EB4E@mail.test.org>
Sep 22 11:28:03 node2 postfix/bounce[682149]: CC515101440B9: sender non-delivery notification: 29CDD1013EB4E
Sep 22 11:28:03 node2 postfix/qmgr[682099]: 29CDD1013EB4E: from=<>, size=3712, nrcpt=1 (queue active)
Sep 22 11:28:03 node2 postfix/qmgr[682099]: CC515101440B9: removed

Components

  • core:3.11.1
  • mail:1.7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions