Package org.apache.james.jspf.policies
Class InitialChecksPolicy
java.lang.Object
org.apache.james.jspf.policies.InitialChecksPolicy
- All Implemented Interfaces:
SPFChecker
Run the checks on the validity of the domain
This is an override filter to be executed as the first
so it should be added as the last filter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckSPF(SPFSession spfData) Run check for SPF with the given values.
-
Constructor Details
-
InitialChecksPolicy
public InitialChecksPolicy()
-
-
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- 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:
-