Package org.apache.james.jspf.policies
Class SPFStrictCheckerRetriever
java.lang.Object
org.apache.james.jspf.policies.SPFRetriever
org.apache.james.jspf.policies.SPFStrictCheckerRetriever
- All Implemented Interfaces:
SPFChecker
Get the raw dns txt or spf entry which contains a spf entry. If a domain
publish both, and both are not equals it throws a PermError
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckSPF(SPFSession spfData) Run check for SPF with the given values.Methods inherited from class org.apache.james.jspf.policies.SPFRetriever
extractSPFRecord
-
Constructor Details
-
SPFStrictCheckerRetriever
public SPFStrictCheckerRetriever()
-
-
Method Details
-
checkSPF
public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException, TempErrorException, NeutralException, NoneException Description copied from interface:SPFCheckerRun check for SPF with the given values.- Specified by:
checkSPFin interfaceSPFChecker- Overrides:
checkSPFin classSPFRetriever- Parameters:
spfData- The SPF1Data which should be used to run the check- Throws:
PermErrorException- Get thrown if an error was detectedTempErrorException- Get thrown if a DNS problem was detectedNeutralException- Get thrown if the result should be neutralNoneException- Get thrown if no Record was foundNoneException- See Also:
-