BIMI - 为域名邮箱的邮件添加企业LOGO

本文于294天之前发表,文中内容可能已经过时。

BIMI,为“Brand Indicator for Message Identification”的缩写,信息识别品牌标识。其用处就是为域名邮箱所发出的邮件添加企业的Logo标志。

如下图所示:

BIMI图示 - httpsMail.com

其实现的方法就是添加TXT记录解析,具体步骤如下:

设置DMARC

要想使用BIMI功能就需要先设置DMARC解析,因为DMARC记录中包含对SPF和DKIM的验证方法,所以相应的SPF和DKIM记录也要有,可以看一下前期的文章:域名邮箱真实性设置指南:DKIM、DMARC和SPF

在DNS中添加“TXT”类型解析记录,以httpsmail.com为例,名称或主机记录为“_dmarc.httpsmail.com”,内容或值为:

v=DMARC1; p=reject; pct=100; adkim=s; aspf=s;

其中p=必须为rejectquarantinepct=必须为100(目前只有谷歌提及必须要有pct=100)。

上传Logo文件到服务器

Logo文件必须为”.svg”格式。

但谷歌在其网站上 https://support.google.com/a/answer/10911027?hl=en&ref_topic=10911234 还列出不少要求和建议,我看下来后的感觉就是好麻烦,不想设置了,我也不一一翻译了。可以使用谷歌推荐的Adobe Illustrator创建”.svg”文件。

  • Format must be SVG Tiny Portable/Secure (SVG Tiny PS), which is a version of SVG.
  • The baseProfile attribute must be tiny-ps.
  • The version attribute must be1.2.
  • Include a<title> element that reflects your organization name. There are no strict requirements for the title value.
  • Don’t include external links or references, other than to the specified XML namespaces.
  • Don’t include scripts, animations, or other interactive elements.
  • Don’t include x= or y= attributes in the<svg> root element.

谷歌的建议:

  • The image should be a square, and graphics should be centered.
  • The file should be as small as possible. We recommend no larger than 32 KB.
  • The image background should be a solid color. Transparent backgrounds don’t always display as expected.
  • Include the<desc> (description) element to support accessibility.

申请VMC认证(可选)

要想申请VMC认证,你的Logo需要为注册商标,所以这一步就不介绍了。

每家邮箱的要求不同,Gmail要求必须同时有Logo文件和Logo证书才能在收件箱内显示Logo图标。

设置DNS解析记录

解析记录类型为”TXT”,主机名为”default._bimi.httpsmail.com”,这是固定格式。值或内容为:

v=BIMI1; l=https://www.httpsmail.com/images/logo.svg; a=

其中:v=为BIMI的版本号,l=为.svg格式的Logo文件地址,a=为VMC证书的地址。


支付宝打赏 微信打赏

感谢打赏,支持支付宝、微信!