element-hq / element-hq/synapse
Option to add "X-Mailer" header when sending emails
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#13182](https://github.com/matrix-org/synapse/issues/13182).
---
The X-Mailer header is commonly used to identify the software/SMTP-client used to initiate and send an email.
For example, all emails sent from Facebooks servers (Instagram, Facebook, Whatsapp) have the following X-Mailer header:
`X-Mailer: ZuckMail [version 1.00]`
Example of different X-Mailer headers in my SMTP-relay

Why?
To make it easier for recievers to build filters depending on the X-Mailer header, and to just keep track on what kind of server the emails originate from.
Example header:
`X-Mailer: Matrix-Synapse ${CURRENT_VERSION}`
Or, the option to specify in the settings.
Contributor guide
Assessment
This issue has not been assessed yet.