<html xmlns:v="urn:schemas-microsoft-com:vml" 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=iso-8859-1"><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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB>We have a very severe problem:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>(first one is, that we are using a very old centos6 box and therefore an old amavis)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Main problem:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>All incoming mails are received by postfix, checked by amavis&spamassassin and<br>delivered to the internal exchange server that forwards it to Office365 Online Protection.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>All mails with dkim signatures do have valid signatures when checked by amavis but<br>if amavis relais them to exchange (and O365 checks DKIM again) we get a <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>dkim= fail (body hash did not verify)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>This happens anytime a german special char is in the email.<br>Email without special chars have a working dkim body signature.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>And it is definitely amavis – if I disable spamassassin or the anti virus agents the issues<br>remain. If I disable amavis all mails got their dkim signature body hash intact …<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>CentOS version6<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Amavisd-new 2.9.1-3.el6.noarch<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Does anyone has got an idea whats wrong?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Kind regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Martin<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>_____________________<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>DI (FH) Martin Hochreiter<br>Fachverantwortlicher Systemadministration<br>IT und Infrastruktur<br><br><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>Fachhochschule St. Pölten GmbH<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>Matthias Corvinus-Straße 15, 3100 St. Pölten<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>T: +43 (0) 2742 313 228 – 215<br>M: +43 (0) 676 847 228 215<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>I: <a href="https://www.fhstp.ac.at"><span style='color:blue'>https://www.fhstp.ac.at</span></a><o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT'>FN 146616m, LG St. Pölten, DVR 1028669F<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>