Skip to content

iprev_msg

Since: Version 2025.12.02-67ee9e96

The functionality described in this section requires version 2025.12.02-67ee9e96 of KumoMTA, or a more recent version.

local mail_auth = require 'policy-extras.mail_auth'
local auth_result = mail_auth.iprev(MSG)

The mail_auth.iprev function performs the iprev authentication method as specified by RFC8601 Section 3, and returns an AuthenticationResult representing the status of the check.

The MSG parameter is a Message object.

See mail_auth.iprev for a version of this check at accepts an IP address without needing a message object.