2014-06-07 6 views
0

전자 메일 메시지에 DKIM에 서명하려고합니다.본문의 UTF8 문자로 DKIM 오류에 서명하십시오.

This is a multi-part message in MIME format. 

------=_NextPart_000_0011_01CF8271.717F57C0 
Content-Type: text/plain; 
    charset="windows-1258" 
Content-Transfer-Encoding: 7bit 

This is a test email from UltraMailer. 

------=_NextPart_000_0011_01CF8271.717F57C0 
Content-Type: text/html; 
    charset="utf-8" 
Content-Transfer-Encoding: 7bit 

This is a test email from UltraMailer. 
------=_NextPart_000_0011_01CF8271.717F57C0-- 

을하지만 내용이 UTF-8 문자가 포함 된 경우, 나는 Gmail에 메시지를받은 내 bodyhash (BH)이있는 것을 나타냅니다 잘못 : 유니 코드가 아닌 몸으로

, 그것은 잘 작동 중립 = DKIM 무엇이 잘못

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.info; s=default; t=1402142861; bh=KjwC9TmOTS+OUAQOHQ9T6mW1PbMSe3HZ5uaN2ZDGcEQ=; h=From:To:Subject; b=DgZIGVaYd+tZ1VE7z1X2V7znolfmUp+ejSmsNmwYxIPlckH+AwrXyaetwbVGnkY9ybiUEcKXEhY6HRMMRIFZIb2QwbAhGNppN+lcvOBLVaghrVQ6Emg7dP1+VkzaJ1+qqROIg6pO+U/oAnFx4HH8mDGNvDxDlePrq5hSXvRKQ/c= 

:

This is a multi-part message in MIME format. 

------=_NextPart_000_0020_01CF8275.DAAA6BA0 
Content-Type: text/plain; 
    charset="windows-1258" 
Content-Transfer-Encoding: 7bit 

tieng viet 




------=_NextPart_000_0020_01CF8275.DAAA6BA0 
Content-Type: text/html; 
    charset="utf-8" 
Content-Transfer-Encoding: 8bit 

tiếng việt 
<P>&nbsp;</P> 
------=_NextPart_000_0020_01CF8275.DAAA6BA0-- 

내 DKIM 헤더 (몸 해시는 확인하지 않았다)?

답변

0

이것은 Content-Transfer-Encoding: 8bit과 관련이있을 수 있습니다. 특수 문자를 사용하는 경우 썬더 버드는 콘텐츠 전송 인코딩을 자동으로 8 비트로 전환합니다.

이로 인해 다른 DKIM 서명 응용 프로그램에서 문제가 발생할 수 있습니다.

참조 : https://github.com/Pro/dkim-exchange/issues/86 또는

http://sourceforge.net/p/dkimproxy/mailman/message/188564/ 그래서 솔루션이 8 비트 인코딩을 사용하지 썬더 버드를 강제하는 것입니다. mail.strictly_mime을 true로 설정하면이 작업을 수행 할 수 있습니다. (참조 : http://forums.mozillazine.org/viewtopic.php?f=28&t=1697835)

관련 문제