THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you want to add custom headers in the rewritten mail message, the Mail::SpamAssassin::PerMsgStatus::set_tag()
API is the way to do it.
The way it works is, you add a line like this to the plugin configuration file, or the user's preferences file:
...
You can also get the value of a tag using the Mail::SpamAssassin::PerMsgStatus::get_tag()
API from inside a plugin, although note that some of the tags will not be filled in until after the scan completes, and may not be available.