Class TrustedForwarderPolicy
java.lang.Object
org.apache.james.jspf.policies.local.TrustedForwarderPolicy
- All Implemented Interfaces:
PolicyPostFilter
PolicyPostFilter which implements trusted forwared.
See http://www.trusted-forwarder.org for more informations
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSPFRecord
(String currentDomain, SPF1Record spfRecord) Filter or replace a record for the given domain
-
Field Details
-
TRUSTED_FORWARDER_HOST
The hostname to include- See Also:
-
-
Constructor Details
-
TrustedForwarderPolicy
public TrustedForwarderPolicy()
-
-
Method Details
-
getSPFRecord
public SPF1Record getSPFRecord(String currentDomain, SPF1Record spfRecord) 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 forspfRecord
- the previous record- Returns:
- the SPFRecord found
- Throws:
PermErrorException
- exceptionTempErrorException
- exceptionNoneException
- exceptionNeutralException
- exception- See Also:
-