| Author |  | 
      
        | arielpasini Newbie
 
  
  
 Joined: 18 March 2016
 Location: Argentina
 Online Status: Offline
 Posts: 2
 | 
          Hi everybody! I have a Windows server with hMailServer and WebMail Lite PHP installed.
           | Posted: 18 March 2016 at 9:27am | IP Logged |   |  
           | 
 |  I have configured in hMailServer to sign with DKIM.
 So if i send an email from a PC with Microsoft Outlook to check-auth@verifier.port25.com to test DKIM, this test passes OK.
 When I send from WebMail Lite PHP is not the same, returning this error detail.
 I marked in bold the difference I could see
 
 ----------------------------------------------------------
 DKIM check details:
 ----------------------------------------------------------
 Result: fail (wrong body hash: expected wQ7HTm0phbufeLRLQVypocjoZGA=)
 ..
 ..
 ..
 Canonicalized Body:
 '0D''0A'
 ------=_Part_766_731768798.1458315255'0D''0A'
 Content-Type:'20'text/plain;'20'charset="utf-8"'0D''0A'
 Content-Transfer-Encoding:'20'quoted-printable'0D''0A'
 '0D''0A'
 
 
 With Microsoft Outlook:
 
 ----------------------------------------------------------
 DKIM check details:
 ----------------------------------------------------------
 Result:         pass (matches From: info@tenismanager.com.ar)
 ..
 ..
 ..
 Canonicalized Body:
 This'20'is'20'a'20'multipart'20'message'20'in'20'MIME'20'format.'0D''0A'
 '0D''0A'
 ------=_NextPart_000_0010_01D18112.DBF7A750'0D''0A'
 Content-Type:'20'text/plain;'20'charset="utf-8"'0D''0A'
 Content-Transfer-Encoding:'20'quoted-printable'0D''0A'
 '0D''0A'
 
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Hi,
           | Posted: 18 March 2016 at 9:36am | IP Logged |   |  
           | 
 |  
 I guess you should address this to the hMailServer vendor. It's their code which creates incorrect DKIM signature. For instance, the same mails from WebMail Lite are DKIM signed just fine with other DKIM implementations (such as Exim mail server which we're using here).
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | arielpasini Newbie
 
  
  
 Joined: 18 March 2016
 Location: Argentina
 Online Status: Offline
 Posts: 2
 | 
          OK, thanks you!! i will do this
           | Posted: 18 March 2016 at 9:50am | IP Logged |   |  
           | 
 |    | 
       
        | Back to Top |     | 
       
       
        |  |