Thanks for caring, even if I seem to not find obvious documentation.
I have read the “configuring outbound email” documentation. I know it has a section on Message-IDs, but this does not help me (see below). I have also searched for
- phabricator localhost.localdomain
- phabricator message-id
- All three above keywords together
- phabricator fqdn
My searches find mainly the section titled “Message-IDs” in https://secure.phabricator.com/book/phabricator/article/configuring_outbound_email/.
This section documents how one can set “message-id”: false in the SMTP options. It does not tell me how to influence the FQDN part of the message ID, or what information ends up being used as the FQDN part. Configuring phabricator to not use a message-ID at all and let the SMTP server add one would also solve my problem, so I have tried to do that, too:
My cluster.mailers configuration is inside my local.json file. I have changed my local.json file to read like this:
(replaced some data with EXAMPLEs)
While adding the “message-id”:false option, I have also changed the “metamta.default-address” so that I notice whether this local.json file has an effect by looking at the From: address of emails sent by phabricator.
After restarting phabricator, emails sent by it have the new From: email address, but still have the @localhost.localdomain message ID.
I have also checked the SMTP server that I use if this server is responsible for adding the @localhost.localdomain message-ids: I have submitted a test email without message-id through netcat. It adds a valid message-id with its own hostname as the FQDN part.
Please tell me what I have overlooked. Where can I set the part of the message-id that comes after the @. Or why does my message-id: false have no effect.