I know i can do it with postfix so forwarded email is processed through postfix service with header_checks option which removes the DKIM headers, then forwarded to amavis for mangle & sign and injected back to postfix for external delivery.
But why not amavis doing it? Just like remove_existing_spam_headers option. From: Dominic Raferd <[email protected]> Sent: Friday, January 21, 2022 11:05 To: Miro Igov <[email protected]> Cc: [email protected] Subject: Re: Remove headers from Amavis I do not believe amavis can do this, but your MTA maybe can. Postfix has this capability, and if you want complex conditions to be met you can use postfwd, for example. On Fri, 21 Jan 2022, 08:58 Miro Igov, <[email protected] <mailto:[email protected]> > wrote: I do not use DMARC and am not interested in ARC rules. I asked is it possible that Amavis could strip any previous DKIM headers before placing it's own DKIM? -- This message has been sent as a part of discussion between PHARMYA and the addressee whose name is specified above. Should you receive this message by mistake, we would be most grateful if you informed us that the message has been sent to you. In this case, we also ask that you delete this message from your mailbox, and do not forward it or any part of it to anyone else. Thank you for your cooperation and understanding.
