大网数据广告活动
服务器运维问答

DKIM: 'not authenticated' but 'verification successful'

· 52CE 我爱测

A question if this is normal DKIM behaviour. When sending an email from mydomain it adds it with a signature, and it looks good. But when receiving an email from outside, say outlook.com, i get below: Is "not authenticated" norma…

问题原文

原帖链接 · user431710 · CC BY-SA 3.0

A question if this is normal DKIM behaviour. When sending an email from mydomain it adds it with a signature, and it looks good. But when receiving an email from outside, say outlook.com, i get below:

Is "not authenticated" normal behaviour? It does say DKIM verification successful, but i'm slightly worried about the messages preceding it.

Aug 13 09:39:37 www opendkim[13789]: 50CDC63F63: mail-
oln040092065020.outbound.protection.outlook.com [40.92.65.20] not internal
Aug 13 09:39:37 www opendkim[13789]: 50CDC63F63: not authenticated
Aug 13 09:39:37 www opendkim[13789]: 50CDC63F63: failed to parse 
authentication-results: header field
Aug 13 09:39:37 www opendkim[13789]: 50CDC63F63: DKIM verification successful
Aug 13 09:39:37 www postfix/qmgr[14386]: 50CDC63F63: from=
<[email omitted]>, size=5304, nrcpt=1 (queue active)

社区高分解答

原帖链接 · USD Matt · CC BY-SA 3.0

The message seems to come from here in OpenDIM

authtype = dkimf_getsymval(ctx, "{auth_type}");

...

if (authtype == NULL || authtype[0] == '\0')
{
    syslog(LOG_INFO, "%s: not authenticated",
           dfc->mctx_jobid);
}

I'm not 100% on where {auth_type} comes from, but I did find the following in Postfix milter docs

{auth_type} MAIL, DATA, EOH, EOM    SASL login method

All in all it seems there is a good chance it's just logging whether the client is authenticated against the SMTP server, which is unlikely (and expected) for inbound mail.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-08-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。