虽然使用 Mimekit 进行 DKIM 签名非常有效,但我对实际签名有两个小问题。
DKIM-Signature: v=1; a=rsa-sha256; d=xxxxx.xx.xxx.xx; s=xxxxxx; c=relaxed/relaxed; i=kxxxx@xxxxx.xx.xxx.xx; t=1505903265; h=subject:from:reply-to:to:date:message-id:list-unsubscribe:sender: content-type:mime-version; bh=+YJ8JIQ4EA+AyTfpYN8VFp1ZiNU7BC/a3XtvhaR/VZE=; b=NLPjxuR58K9Rixf6eLtWESFphai0PoATGpC0UaEz1lqTHRCFeECbDC8HbcVBEQQfO8gyKi8pOub f4e92zbgttUIgpVZfi5xu7OMSPm5t/seycBdGfNto9bhWRoW21avcan1LPtEERthtYV0Eb6kwlEFX UFH3AhZKsvzD2YFTVyU=
DKIM-Signature: v=1; a=rsa-sha256; d=xxxx.xxx; s=xxxxx; c=relaxed/relaxed; t=1505903265; h=subject:from:reply-to:to:date:message-id:x-feedback-id:list-unsubscribe: content-type:mime-version; bh=+YJ8JIQ4EA+AyTfpYN8VFp1ZiNU7BC/a3XtvhaR/VZE=; b=kVrvAHo7Kek5jx/YEzd9WWi42wpn65r+0FOTwQ9H0fHDB738WY93Cro2p6Hq4qUBu3q6Eztc54N aXOo95mr0Mu0qFvlYM0hLWWjA9Je+fBjvoJPwuFLZVEfd8taZWFYOdYlEvsgyrPz3JMDYYio26wXy zyR+4R2Yc4SBfFP4/vs=
1)由于某种原因,标题子字符串从“h =”开始并以“;”结尾 不保留大小写,因此“content-type:”应该是“Content-Type:”
2) "content-type:"前面好像多了一个空格,怎么去掉?。