I looked into the source of the Thunderbird plugin. I assume that MessageHeader.author returns the value of the From header which might be (and often is) different than the actual SMTP envelope sender. A spam message should be reported to the domain of the actual sender, not the displayed sender (which is easy to forge). For most systems is recorded in the Return-Path.
I am no JavaScript developer but I think something like this should work:
I looked into the source of the Thunderbird plugin. I assume that
MessageHeader.author
returns the value of theFrom
header which might be (and often is) different than the actual SMTP envelope sender. A spam message should be reported to the domain of the actual sender, not the displayed sender (which is easy to forge). For most systems is recorded in theReturn-Path
.I am no JavaScript developer but I think something like this should work: