问题原文
原帖链接 · Basj · CC BY-SA 4.0
Let's say I own example.com, that I install and configure dkim on my server (apt-get install opendkim opendkim-tools, etc.), and that I add the relevant public key to the domain's DNS records.
Then when sending email from my server (example: with PHP mail(...) or postfix), it will have DKIM signature.
But I also send emails for [email omitted] from Gmail, using "Send mail as" feature with a Sendgrid SMTP.
But I don't see in Gmail the setting for DKIM. Will the mails sent from Gmail be banned / not sent correctly because they're not sent with DKIM signature?
How to send email from Gmail for my domain using DKIM? (using Send mail as feature)
Note: this is the "Send mail as" feature I'm speaking about:
(source: slipstick.com)
社区高分解答
原帖链接 · Esa Jokinen · CC BY-SA 3.0
DomainKeys Identified Mail (DKIM) is for ensuring that mail content hasn't tampered during transmission. Unlike Sender Policy Framework (SPF) it's not trying to validate the source of the message as permitted sender. RFC 5585, 1.1 DKIM's Scope explains this:
DKIM is intended as a value-added feature for email. Mail that is not signed by DKIM is handled in the same way as it was before DKIM was defined. The message will be evaluated by established analysis and filtering techniques. (A signing policy can provide additional information for that analysis and filtering.) Over time, widespread DKIM adoption could permit stricter handling of messages that are not signed. However, early benefits do not require this and probably do not warrant this.
Therefore, checks regarding DKIM are only performed for emails containing the signature. Unless required by DMARC (which may be considered, among its other purposes, as the stricter handling mentioned), not signing the messages with DKIM wouldn't cause rejecting them.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
