pub enum SpfResultCode {
Unknown,
NoneSpf,
Pass,
Fail,
SoftFail,
Policy,
Neutral,
TempError,
PermError,
}Expand description
SPF Result Codes - s.2.7.2 SPF defined in RFC 7208 s.2.6 - Results evaluation
Variants§
Unknown
Result code not seen
NoneSpf
Either (a) syntactically valid DNS domain name was extracted from the SMTP session that could be used as the one to be authorized, or (b) no SPF records were retrieved from the DNS.
Pass
An explicit statement that the client is authorized to inject mail with the given identity.
Fail
An explicit statement that the client is not authorized to use the domain in the given identity.
SoftFail
A weak statement by the publishing ADMD that the host is probably not authorized. It has not published a stronger, more definitive policy that results in a “fail”.
Policy
RFC 8601 - Section 2.4 Indication that some local policy mechanism was applied that augments or even replaces (i.e., overrides) the result returned by the authentication mechanism. The property and value in this case identify the local policy that was applied and the result it returned.
Neutral
The ADMD has explicitly stated that it is not asserting whether the IP address is authorized.
TempError
The SPF verifier encountered a transient (generally DNS) error while performing the check. A later retry may succeed without further DNS operator action.
PermError
The domain’s published records could not be correctly interpreted. This signals an error condition that definitely requires DNS operator intervention to be resolved.
Trait Implementations§
Source§impl Clone for SpfResultCode
impl Clone for SpfResultCode
Source§fn clone(&self) -> SpfResultCode
fn clone(&self) -> SpfResultCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more