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).
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).