DKIM_PRESULT

DESCRIPTION
Purpose A DKIM_PRESULT is a constant used to render additional information about the policy result produced by a call to dkim_policy().
Possible Values
  • DKIM_PRESULT_NONE -- no result
  • DKIM_PRESULT_NXDOMAIN -- no such domain
  • DKIM_PRESULT_UNKNOWN -- sender's policy is "unknown"
  • DKIM_PRESULT_TOPLEVEL -- parent of sender's domain is top-level
  • DKIM_PRESULT_PARENTOK -- parent domain's policy permits message
  • DKIM_PRESULT_TESTFLAG -- sender's policy has test flag set
  • DKIM_PRESULT_VALIDOSIG -- a valid originator signature was found
  • DKIM_PRESULT_ALLVALIDSIG -- sender's policy is "all" and a valid signature was found
  • DKIM_PRESULT_POLICYERROR -- policy check failed
NOTES The policy results described above correspond to the draft DKIM sender signing practises policy procedures. Detailed descriptions, with the algorithm steps indicated in square brackets, are included here.
  • DKIM_PRESULT_NONE is returned if no policy check has been done yet for the message.
  • DKIM_PRESULT_NXDOMAIN is returned if the policy check was done and it was discovered that the sender's domain does not exist.
  • DKIM_PRESULT_UNKNOWN is returned if the policy check was done and the policy was found to be "unknown" which allows no conclusions about suspicious vs. non-suspicious.
  • DKIM_PRESULT_TOPLEVEL is returned if the policy check has been done but was not found and a parent domain check is not prudent because the parent domain appears to be a top-level domain.
  • DKIM_PRESULT_PARENTOK is returned if the policy check has been done but was not found, but a parent domain policy check succeeded.
  • DKIM_PRESULT_TESTFLAG is returned if the policy check has been done and the returned policy had the "test" flag set. This is somewhat redundant to the result returned by dkim_policy() but is included here as well for completeness.
  • DKIM_PRESULT_VALIDOSIG is returned if the policy check has been done and it was found that the message had a valid originator signature.
  • DKIM_PRESULT_ALLVALIDSIG is returned if the policy check has been done and it was found that the sender's policy is "all" and at least one valid signature was found on the message.
  • DKIM_PRESULT_POLICYERROR is returned if the policy check has been done and it was determined that the rules stated by the policy failed to indicate approval of the message.

Copyright (c) 2005-2007 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.