<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>But why not amavis doing it? Just like remove_existing_spam_headers option.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Dominic Raferd <dominic@timedicer.co.uk> <br><b>Sent:</b> Friday, January 21, 2022 11:05<br><b>To:</b> Miro Igov <miro.igov@pharmya.com><br><b>Cc:</b> amavis-users@amavis.org<br><b>Subject:</b> Re: Remove headers from Amavis<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Fri, 21 Jan 2022, 08:58 Miro Igov, <<a href="mailto:miro.igov@pharmya.com">miro.igov@pharmya.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>I do not use DMARC and am not interested in ARC rules.<br><br>I asked is it possible that Amavis could strip any previous DKIM headers before placing it's own DKIM?<o:p></o:p></p></blockquote></div></div></div></div>
<br><table id="pharmya_gdpr_container" border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="600">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="border-top: 2px solid #8C8C8C; text-align:justify;">
<img src="cid:78f493ad50e253e7a6ad3f9d4b721329"
class="replace_cid" alt="GDPR Logo" width="126"
height="50" align="left" style="margin-right:5px;"/>
<span style="font-size:10pt;
font-family: Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif;"
class="gdpr_text">
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.<br>
Thank you for your cooperation and understanding.
</span>
</td>
</tr>
</table>
</td>
<td></td>
</table>
<br></body></html>