Keep X-Spam-... header lines when releasing message from quarantine?

Rich Wales richw at
Thu Mar 30 06:09:13 CEST 2017

>From examining the amavisd-new code, it appears the relevant portion is
at line 11554:

/11554/       } elsif (!$reporting && /^(?:X-Spam|X-CRM114)-.+:/si) {
/11555/         # skip header fields inserted by us
/11556/       } else {

This is amavisd-new-2.10.1 (20141025).

So it doesn't look like changing *$sa_tag_level_deflt*, or any other
user-tunable value, is going to do what I want.

I suppose I could try commenting out lines 11554 and 11555 if I really,
really want the X-Spam lines to be retained when releasing a message
from quarantine.  Any other ideas?

*Rich Wales*
richw at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amavis-users mailing list