org.apache.james.jspf.policies
Class InitialChecksPolicy
java.lang.Object
org.apache.james.jspf.policies.InitialChecksPolicy
- All Implemented Interfaces:
- SPFChecker
public final class InitialChecksPolicy
- extends Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitialChecksPolicy
public InitialChecksPolicy()
checkSPF
public DNSLookupContinuation checkSPF(SPFSession spfData)
throws PermErrorException,
TempErrorException,
NeutralException,
NoneException
- Description copied from interface:
SPFChecker
- Run check for SPF with the given values.
- Specified by:
checkSPF
in interface SPFChecker
- Parameters:
spfData
- The SPF1Data which should be used to run the check
- Throws:
PermErrorException
- Get thrown if an error was detected
TempErrorException
- Get thrown if a DNS problem was detected
NeutralException
- Get thrown if the result should be neutral
NoneException
- Get thrown if no Record was found- See Also:
SPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.