Argument | Description |
dkim |
Message-specific handle, returned by
dkim_verify().
|
test |
A pointer to boolean that is set to be either TRUE (if the policy
indicates the domain is using DKIM in a test mode), or FALSE otherwise.
|
susp |
A pointer to boolean that is set to be either TRUE (if the policy
indicates the message is suspicious), or FALSE otherwise.
|
pcode |
A pointer to a dkim_policy_t which is updated to contain
the policy type retrieved from the sender. This can be NULL if that
information is not of interest to the caller.
|
hcode |
A pointer to a dkim_handling_t which is updated to contain
the recommendation for handling suspicious messages as retrieved from
the sender. This can be NULL if that information is not of interest
to the caller.
|
pstate |
A caller may wish to use this function in a re-entrant manner,
such as when using a policy lookup callback that may return
DKIM_CBSTAT_TRYAGAIN. In that case, the caller should
allocate a DKIM_PSTATE and
initialize it using memset() to fill it with all-zeroes, then
pass a pointer to it to this function. If the callback does return
DKIM_CBSTAT_TRYAGAIN, pstate will be updated to
contain internal state information so that subsequent calls to
this function will simply re-attempt the lookup that could not
be completed on the previous attempt, essentially picking up where
it left off (avoiding repeated lookups). Instead, if pstate
is NULL, the entire policy process will be repeated on each call.
|