Author r.david.murray
Recipients Johannes Löthberg, barry, maciej.szulik, msapiro, r.david.murray
Date 2017-06-03.18:10:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
replace_header has a different semantic than del-and-set (replace_header leaves the header in the same location in the list, rather than appending it to the end...that's it's purpose).  If replace_header is throwing a key error, then I guess we need a look-before-you-leap if statement.

And a test :)

Note that a correct fix would preserve the broken input email, but since we're obviously already doing munging I'm fine with just making this work for now.
Date User Action Args
2017-06-03 18:10:12r.david.murraysetrecipients: + r.david.murray, barry, msapiro, maciej.szulik, Johannes Löthberg
2017-06-03 18:10:12r.david.murraysetmessageid: <>
2017-06-03 18:10:12r.david.murraylinkissue27321 messages
2017-06-03 18:10:12r.david.murraycreate