Class BestGuessPolicy
java.lang.Object
org.apache.james.jspf.policies.local.BestGuessPolicy
- All Implemented Interfaces:
PolicyPostFilter
PolicyPostFilter which handles best guess.
See http://www.openspf.org/FAQ/Best_guess_record for more informations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSPFRecord
(String currentDomain, SPF1Record record) Filter or replace a record for the given domain
-
Constructor Details
-
BestGuessPolicy
public BestGuessPolicy()
-
-
Method Details
-
getSPFRecord
public SPF1Record getSPFRecord(String currentDomain, SPF1Record record) throws PermErrorException, TempErrorException, NoneException, NeutralException Description copied from interface:PolicyPostFilter
Filter or replace a record for the given domain- Specified by:
getSPFRecord
in interfacePolicyPostFilter
- Parameters:
currentDomain
- the domain to retrieve the SPFRecord forrecord
- the previous record- Returns:
- the SPFRecord found
- Throws:
PermErrorException
- exceptionTempErrorException
- exceptionNoneException
- exceptionNeutralException
- exception- See Also:
-