• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question Missing Message ID email header?

safemoon

Regular Pleskian
This question may be out of topic but I was wondering if there is any setting that removes "message-id" header from the incoming emails on the server?
Currently, I am using the following PHP library to receive read emails using IMAP but for some reason the message id is missing from all emails.

It may be an error from the PHP library or in my code, and many other reasons but I would like to know for sure if the server could be the reason so I can exclude it from the list.

Are there any settings that could interfere with the email headers in Plesk?
 
Basically, it's the job of the application that creates the mail to add a valid message-id header. Did you examine the raw headers of your mails? Do you see any "Message-Id:" header in there?
And who is generating those mails? Are you receiving the mails from an external source?
As a quick workaround you can add this to your Postfix main.cf:
always_add_missing_headers = yes

This will instruct Postfix to add missing headers such as Date or Message-ID to incoming messages.
 
Basically, it's the job of the application that creates the mail to add a valid message-id header. Did you examine the raw headers of your mails? Do you see any "Message-Id:" header in there?
And who is generating those mails? Are you receiving the mails from an external source?
As a quick workaround you can add this to your Postfix main.cf:
always_add_missing_headers = yes

This will instruct Postfix to add missing headers such as Date or Message-ID to incoming messages.
I have examined the raw headers using the library mentioned above and its always missing. However, when I examine the email headers through the email client (e.g Gmail, Spark, Outlook) the message id DOES exist.

So my conclusion is that the message id is getting stripped somehow.

I’ve tried sending emails from different services such as gmail, outlook to the domains (server) email address.
 
Back
Top