Hello Markus, from the amavisd-new release notes:
@remove_existing_spam_headers_maps is now a per-recipient list of lookup tables, so pre-existing X-Spam* header fields may be selectively removed according to preferences of individual recipients or sub-domains So it seems that $remove_existing_spam_headers handles all "X-Spam*" headers. Regards, Christian -----Ursprüngliche Nachricht----- Von: amavis-users [mailto:amavis-users-bounces+christian.hoyer-reuther=cac-chem...@amavis.org] Im Auftrag von Markus Clardy Gesendet: Dienstag, 28. März 2017 11:21 An: [email protected] Betreff: Re: Keep X-Spam-... header lines when releasing message from quarantine? Hello Christian, Would this cause any headers added by SpamAssassin to still be there, even on initial delivery, or does this only affect the AMaViS headers? Thanks, Markus On 03/28/2017 09:48 AM, Hoyer-Reuther, Christian wrote: > Hello Rich, > > you can try if the following helps: > > $remove_existing_spam_headers = undef; > $remove_existing_x_scanned_headers = undef; > > Regards, > > Christian > > -----Ursprüngliche Nachricht----- > Von: amavis-users > [mailto:amavis-users-bounces+christian.hoyer-reuther=cac-chem...@amavis.org] > Im Auftrag von Rich Wales > Gesendet: Freitag, 24. März 2017 07:27 > An: [email protected] > Betreff: Keep X-Spam-... header lines when releasing message from quarantine? > > Hi. I'm using amavisd-new 2.10.1 on an Ubuntu 16.04 server, with a > heavily modified MailZu to manage my spam quarantine. > > If I decide a quarantined message is not spam after all, and release it, > the X-Virus-Scanned header line and all the X-Spam-... header lines are > stripped out before the message is delivered. Is there any way to > disable this action, so that these header lines will remain in the > released e-mail as it is delivered? > > Rich Wales > [email protected]
