Package org.apache.james.jspf.policies
Interface PolicyPostFilter
- All Known Implementing Classes:
BestGuessPolicy,DefaultExplanationPolicy,FallbackPolicy,NeutralIfNotMatchPolicy,NoSPFRecordFoundPolicy,OverridePolicy,ParseRecordPolicy,TrustedForwarderPolicy
public interface PolicyPostFilter
Return an spf record from a given domain.
-
Method Summary
Modifier and TypeMethodDescriptiongetSPFRecord(String currentDomain, SPF1Record record) Filter or replace a record for the given domain
-
Method Details
-
getSPFRecord
SPF1Record getSPFRecord(String currentDomain, SPF1Record record) throws PermErrorException, TempErrorException, NoneException, NeutralException Filter or replace a record for the given domain- Parameters:
currentDomain- the domain to retrieve the SPFRecord forrecord- the previous record- Returns:
- the SPFRecord found
- Throws:
PermErrorException- exceptionTempErrorException- exceptionNoneException- exceptionNeutralException- exception
-