This is an automated email from the ASF dual-hosted git repository.
chibenwa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 4cf3e4332b [ENHANCEMENT] Log allocated messageId in audit trail (#3118)
4cf3e4332b is described below
commit 4cf3e4332bcea12204fcb0fddc806adf6f206ec5
Author: Benoit TELLIER <[email protected]>
AuthorDate: Tue Aug 18 09:23:47 2026 +0700
[ENHANCEMENT] Log allocated messageId in audit trail (#3118)
---
.../java/org/apache/james/transport/mailets/delivery/MailDispatcher.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailDispatcher.java
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailDispatcher.java
index 9d17fefa8c..ff17844897 100644
---
a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailDispatcher.java
+++
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/delivery/MailDispatcher.java
@@ -194,6 +194,7 @@ public class MailDispatcher {
.orElse(""),
"sender", mail.getMaybeSender().asString(),
"mailboxId",
success.getMailboxId().serialize(),
+ "messageId",
success.getMessageId().serialize(),
"uid",
Long.toString(success.getUid().asLong()),
"recipient", recipient.asString())))
.log("Local delivered mail.")))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]