Package org.apache.james.jspf.core
Interface SPFChecker
- All Known Implementing Classes:
AllMechanism,AMechanism,DefaultSPF,Directive,ExistsMechanism,ExpModifier,GenericMechanism,GenericModifier,IncludeMechanism,InitialChecksPolicy,IP4Mechanism,IP6Mechanism,MXMechanism,PTRMechanism,RedirectModifier,SPF,SPFRetriever,SPFStrictCheckerRetriever,UnknownModifier
public interface SPFChecker
Interface for the SPFChecker service.
-
Method Summary
Modifier and TypeMethodDescriptioncheckSPF(SPFSession spfData) Run check for SPF with the given values.
-
Method Details
-
checkSPF
DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException, TempErrorException, NeutralException, NoneException Run check for SPF with the given values.- Parameters:
spfData- The SPF1Data which should be used to run the check- Throws:
PermErrorException- Get thrown if an error was detectedNoneException- Get thrown if no Record was foundTempErrorException- Get thrown if a DNS problem was detectedNeutralException- Get thrown if the result should be neutralNoneException
-