On 2024-05-08 at 19:18:28 UTC-0400 (Wed, 8 May 2024 19:18:28 -0400)
Alex <mysqlstud...@gmail.com>
is rumored to have said:

Hi, I'm using the latest version of SA from trunk (although I don't think
that matters) and trying to make adjustments to rules on a particular
false-positive email that was quarantined by amavis so I can adjust the
rules to prevent it from being quarantined.

The problem is that amavis manipulates the headers to prevent me from being
able to process them with spamassassin -t again.

I've tried using -d to remove the previous reports first, adding the
envelope-from and return-path but SPF fails, of course, and it also prints
twice the triggered rules, one set after the other.

What can be done to be able to process a quarantined email again so I can
make adjustments to prevent it from being quarantined?

I do not know a specific fix, as I don't use Amavis.
You need to figure out what Amavis does to mail BEFORE doing a SpamAssassin check (e.g. add a placeholder Received header) and what it does AFTER the check (encapsulate? prefix? mangle? I do not know...) when it quarantines the message. To recover the original, you need to undo the quarantine changes and redo the pre-check prep. It may be relevant what you have set report_type to in your local config.

--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to