邮件发件人身份验证模块设置代码

2024年12月12日

ID 287764

如果在事件日志设置中启用了审核事件和修改设置的日志记录,则当“邮件发件人身份验证”模块中的附件的类型和名称设置被编辑时,有关更改的详细信息会记录在审核日志事件中。

下表显示了“邮件发件人身份验证”模块的设置在审核日志记录中如何被编码。

审核事件记录中“邮件发件人身份验证 → DMARC 身份验证”部分的设置代码

“DMARC 身份验证”设置

审核事件记录中的代码

示例

左侧窗格中的“邮件发件人身份验证”开关

scanSettings.messageAuthentication
Settings.engineSettings.enableScan

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

创建的规则:

scanSettings.messageAuthenticationSettings.
engineSettings.enableScan[][true]

scanSettings.messageAuthenticationSettings.
considerDmarcPrimary[][true]

scanSettings.messageAuthenticationSettings.
dmarcSettings.passAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.passAction.backup[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.passAction.mark[][Mark]

scanSettings.messageAuthenticationSettings.
dmarcSettings.onFailUseDmarcPolicySettings[]
[true]

scanSettings.messageAuthenticationSettings.
dmarcSettings.failAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.failAction.backup[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.failAction.mark[][Mark]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.none.action
[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.none.backup
[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.none.mark
[][Mark]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.quarantine.
action[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.quarantine.
backup[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.quarantine.
mark[][Mark]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.reject.
action[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.reject.
backup[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.dmarcPolicySettings.reject.
mark[][Mark]

scanSettings.messageAuthenticationSettings.
dmarcSettings.permErrorAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.permErrorAction.backup[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.permErrorAction.mark[][Mark]

scanSettings.messageAuthenticationSettings.
dmarcSettings.tempErrorAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
dmarcSettings.tempErrorAction.backup[][false]

scanSettings.messageAuthenticationSettings.
dmarcSettings.tempErrorAction.mark[][Mark]

常规 → 将 DMARC 身份验证结果视为主要身份验证结果

scanSettings.messageAuthentication
Settings.considerDmarcPrimary

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

Pass”选项卡

操作

scanSettings.messageAuthentication
Settings.dmarcSettings.passAction.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dmarcSettings.passAction.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthenticationSettings.
dmarcSettings.passAction.mark

Fail”选项卡

模式

scanSettings.messageAuthentication
Settings.dmarcSettings.
onFailUseDmarcPolicySettings

可能的值:

  • true,如果选择了“应用 DMARC 策略”。
  • false,如果选择了“自定义操作”。

操作

scanSettings.messageAuthentication
Settings.dmarcSettings.failAction.
action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dmarcSettings.failAction.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.dmarcSettings.failAction.mark

”策略

操作

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.none.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.none.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicySettings.
none.mark

隔离”策略

操作

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.quarantine.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.quarantine.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.quarantine.mark

拒绝”策略

操作

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.reject.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.reject.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.dmarcSettings.dmarcPolicy
Settings.reject.mark

PermError”选项卡

操作

scanSettings.messageAuthentication
Settings.dmarcSettings.permErrorAction.
action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dmarcSettings.permErrorAction.
backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.dmarcSettings.permErrorAction.
mark

TempError”选项卡

操作

scanSettings.messageAuthenticationSettings.
dmarcSettings.tempErrorAction.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthenticationSettings.
dmarcSettings.tempErrorAction.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthenticationSettings.
dmarcSettings.tempErrorAction.mark

审核事件记录中“邮件发件人身份验证 → SPF 身份验证”部分的设置代码

SPF 身份验证”设置

审核事件记录中的代码

示例

Pass”选项卡

创建的规则:

scanSettings.messageAuthenticationSettings.
spfSettings.passAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.passAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.passAction.mark[][TestMark]

scanSettings.messageAuthenticationSettings.
spfSettings.failAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.failAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.failAction.mark[][TestMark]

scanSettings.messageAuthenticationSettings.
spfSettings.softFailAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.softFailAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.softFailAction.mark[][TestMark]

scanSettings.messageAuthenticationSettings.
spfSettings.neutralAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.neutralAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.neutralAction.mark[][TestMark]

scanSettings.messageAuthenticationSettings.
spfSettings.permErrorAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.permErrorAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.permErrorAction.mark[][TestMark]

scanSettings.messageAuthenticationSettings.
spfSettings.softFailAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.softFailAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.softFailAction.mark[][TestMark]

scanSettings.messageAuthenticationSettings.
spfSettings.noneAction.action[][Skip]

scanSettings.messageAuthenticationSettings.
spfSettings.noneAction.backup[][false]

scanSettings.messageAuthenticationSettings.
spfSettings.noneAction.mark[][TestMark]

操作

scanSettings.messageAuthentication
Settings.spfSettings.passAction.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.passAction.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.passAction.mark

Fail”选项卡

操作

scanSettings.messageAuthentication
Settings.spfSettings.failAction.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.failAction.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.failAction.mark

SoftFail”选项卡

操作

scanSettings.messageAuthentication
Settings.spfSettings.softFailAction.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.softFailAction.
backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.softFailAction.mark

Neutral”选项卡

操作

scanSettings.messageAuthentication
Settings.spfSettings.neutralAction.
action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.neutralAction.
backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.neutralAction.mark

PermError”选项卡

操作

scanSettings.messageAuthentication
Settings.spfSettings.permErrorAction.
action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.permErrorAction.
backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.permErrorAction.
mark

TempError”选项卡

操作

scanSettings.messageAuthentication
Settings.spfSettings.tempErrorAction.
action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.tempErrorAction.
backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.tempErrorAction.mark

None”选项卡

操作

scanSettings.messageAuthentication
Settings.spfSettings.noneAction.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.spfSettings.noneAction.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.spfSettings.noneAction.mark

审核事件记录中“DKIM 身份验证 → 邮件发件人身份验证”部分的设置代码

“DKIM 身份验证”设置

审核事件记录中的代码

示例

常规”选项卡

 

对齐

scanSettings.messageAuthentication
Settings.dkimSettings.alignmentMode

可能的值:

  • Strict,如果选择了“严格”。
  • Relaxed,如果选择了“宽松”。

创建的规则:

scanSettings.messageAuthenticationSettings.
dkimSettings.alignmentMode[][Strict]

scanSettings.messageAuthenticationSettings.
dkimSettings.signatureAbsenceIsViolation[]
[true]

scanSettings.messageAuthenticationSettings.
dkimSettings.temperrorIsViolation[][true]

scanSettings.messageAuthenticationSettings.
dkimSettings.permerrorIsViolation[][true]

scanSettings.messageAuthenticationSettings.
dkimSettings.action[][Skip]

scanSettings.messageAuthenticationSettings.
dkimSettings.backup[][false]

scanSettings.messageAuthenticationSettings.
dkimSettings.mark[][TestMark]

修改的规则:

scanSettings.messageAuthenticationSettings.
dkimSettings.alignmentMode[Strict][Relaxed]

scanSettings.messageAuthenticationSettings.
dkimSettings.signatureAbsenceIsViolation
[true][false]

scanSettings.messageAuthenticationSettings.
dkimSettings.temperrorIsViolation[true][false]

scanSettings.messageAuthenticationSettings.
dkimSettings.permerrorIsViolation[true][false]

scanSettings.messageAuthenticationSettings.
dkimSettings.action[Skip][Reject]

scanSettings.messageAuthenticationSettings.
dkimSettings.backup[false][false]

scanSettings.messageAuthenticationSettings.
dkimSettings.mark[TestMark][]

删除的规则:

scanSettings.messageAuthenticationSettings.
dkimSettings.alignmentMode[Strict][]

scanSettings.messageAuthenticationSettings.
dkimSettings.signatureAbsenceIsViolation
[true][]

scanSettings.messageAuthenticationSettings.
dkimSettings.temperrorIsViolation[true][]

scanSettings.messageAuthenticationSettings.
dkimSettings.permerrorIsViolation[true][]

scanSettings.messageAuthenticationSettings.
dkimSettings.action[Skip][]

scanSettings.messageAuthenticationSettings.
dkimSettings.backup[false][]

scanSettings.messageAuthenticationSettings.
dkimSettings.mark[TestMark][]

将缺少 DKIM 签名视为身份验证违规

scanSettings.messageAuthentication
Settings.dkimSettings.
signatureAbsenceIsViolation

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

将暂时性错误 (TempError) 视为身份验证违规

scanSettings.messageAuthentication
Settings.dkimSettings.
temperrorIsViolation

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

将永久性错误 (PermError) 视为身份验证违规

scanSettings.messageAuthentication
Settings.dkimSettings.
permerrorIsViolation

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

操作”选项卡

操作

scanSettings.messageAuthentication
Settings.dkimSettings.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.dkimSettings.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.dkimSettings.mark

审核事件记录中“邮件发件人身份验证 → 发件人域对齐”部分的设置代码

“发件人域对齐”设置

审核事件记录中的代码

示例

对齐

scanSettings.messageAuthentication
Settings.senderAlignmentSettings.mode

可能的值:

  • Strict,如果选择了“严格”。
  • Relaxed,如果选择了“宽松”。

创建的规则:

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.mode[][Relaxed]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.action[][Skip]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.backup[][false]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.mark[][TestMark]

修改的规则:

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.mode[Relaxed][Strict]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.action[Skip][Reject]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.backup[false][true]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.mark[TestMark][]

删除的规则:

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.mode[Relaxed][]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.action[Skip][]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.backup[false][]

scanSettings.messageAuthenticationSettings.
senderAlignmentSettings.mark[TestMark][]

操作

scanSettings.messageAuthentication
Settings.senderAlignmentSettings.action

可能的值:

  • Skip,如果操作是“跳过”。
  • Reject,如果操作是“拒绝”。
  • DeleteMessage,如果操作是“删除邮件”。

将原始邮件放入备份

scanSettings.messageAuthentication
Settings.senderAlignmentSettings.backup

可能的值:

  • true,如果切换开关为
  • false,如果切换开关为

要添加到邮件主题的文本

scanSettings.messageAuthentication
Settings.senderAlignmentSettings.mark

您觉得这篇文章有帮助吗?
我们可以做什么更好?
感谢您的反馈!你正在帮助我们进步。
感谢您的反馈!你正在帮助我们进步。