[GH-ISSUE #2123] Missing date header in alert emails #3265

Closed
opened 2026-03-14 07:00:21 +03:00 by kerem · 1 comment
Owner

Originally created by @janstalhut on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2123

Originally assigned to: @wh1te909 on GitHub.

Server Info (please complete the following information):

  • OS: Debian 12.9
  • RMM Version (as shown in top left of web UI): 0.20.0

Installation Method:

  • Standard
  • Standard with --insecure flag at install
  • Docker

Describe the bug
The emails sent by Tactical RMM do not contain a Date header. This causes my email client (Thunderbird) to display the date/time when the email was retrieved by Thunderbird and not when the email was sent by TRMM.

To Reproduce
Steps to reproduce the behavior:

  1. Configure email notification in the Global Settings
  2. When you receive an email, display the source code in your email client
  3. There is no line that starts with "Date: ".

Expected behavior
The Date header should be included by TRMM when sending emails.

Additional context
It seems that different email servers handle it differently when the sender does not specify a date/time. It is possible that some add this information if it is missing. We only noticed the error after we switched our email server from Zimbra to Mailcow. The email server Zimbra apparently added the missing date header automatically, while the email server Mailcow apparently does not. I have now researched whether the email server is obliged to add this information: According to RFC 5322, however, it is a mandatory information that the email client must provide when sending, so in my opinion the error lies with Tactical RMM and not with the email server.
https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.1

Originally created by @janstalhut on GitHub (Jan 23, 2025). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2123 Originally assigned to: @wh1te909 on GitHub. **Server Info (please complete the following information):** - OS: Debian 12.9 - RMM Version (as shown in top left of web UI): 0.20.0 **Installation Method:** - [x] Standard - [ ] Standard with `--insecure` flag at install - [ ] Docker **Describe the bug** The emails sent by Tactical RMM do not contain a Date header. This causes my email client (Thunderbird) to display the date/time when the email was retrieved by Thunderbird and not when the email was sent by TRMM. **To Reproduce** Steps to reproduce the behavior: 1. Configure email notification in the Global Settings 2. When you receive an email, display the source code in your email client 3. There is no line that starts with "Date: ". **Expected behavior** The Date header should be included by TRMM when sending emails. **Additional context** It seems that different email servers handle it differently when the sender does not specify a date/time. It is possible that some add this information if it is missing. We only noticed the error after we switched our email server from Zimbra to Mailcow. The email server Zimbra apparently added the missing date header automatically, while the email server Mailcow apparently does not. I have now researched whether the email server is obliged to add this information: According to RFC 5322, however, it is a mandatory information that the email client must provide when sending, so in my opinion the error lies with Tactical RMM and not with the email server. https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.1
kerem closed this issue 2026-03-14 07:00:26 +03:00
Author
Owner

@wh1te909 commented on GitHub (Feb 13, 2025):

done!

<!-- gh-comment-id:2657599349 --> @wh1te909 commented on GitHub (Feb 13, 2025): done!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3265
No description provided.