• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Missing Message ID email header?

safemoon

Basic 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