PGBuildFarm / server-code

PostgreSQL Build Farm Server
https://buildfarm.postgresql.org
Other
13 stars 11 forks source link

Set auto-submission headers on outgoing emails #8

Closed mhagander closed 3 years ago

mhagander commented 3 years ago

Set the "Auto-Submitted: auto-generated" header to indicate that the email is actually auto-generated (which all of the ones generated from the code currently are), as well as the "X-Auto-Response-Suppress: all" to prevent auto-replies going back to the noreply addresses (at least from compliant systems).

The patch itself isn't tested as I don't have the env for it, but the headers are tested, in particular in relation to making life in pglister simpler (these are the same headers that www.postgresql.org sets).