Public bug reported:
Include message headers in discard notifications - currently it isn't always possible to tell who sent a message that's been discarded, which makes it a bit pointless sending a notification. It would be nice to include brief headers in the first message part.
From http://wiki.mailman.psf.io/DEV/Mailman%203.0?action=diff&rev2=30&rev... -- a TODO for the Mailman 3.x series.
** Affects: mailman Importance: Undecided Status: New
** Tags: mailman3
One possible solution is that we add the header in src/mailman/chains/discard.py before calling notify(...) in DiscardChain eg, msg['Received'] = msgdata.get('Received'). Would it be fine?
This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/101