public class TrustedForwarderPolicy extends Object implements PolicyPostFilter
Modifier and Type | Field and Description |
---|---|
static String |
TRUSTED_FORWARDER_HOST
The hostname to include
|
Constructor and Description |
---|
TrustedForwarderPolicy(Logger log) |
Modifier and Type | Method and Description |
---|---|
SPF1Record |
getSPFRecord(String currentDomain,
SPF1Record spfRecord)
Filter or replace a record for the given domain
|
public static final String TRUSTED_FORWARDER_HOST
public TrustedForwarderPolicy(Logger log)
log
- the loggerpublic SPF1Record getSPFRecord(String currentDomain, SPF1Record spfRecord) throws PermErrorException, TempErrorException, NoneException, NeutralException
PolicyPostFilter
getSPFRecord
in interface PolicyPostFilter
currentDomain
- the domain to retrieve the SPFRecord forspfRecord
- the previous recordPermErrorException
- exceptionTempErrorException
- exceptionNoneException
- exceptionNeutralException
- exceptionPolicyPostFilter.getSPFRecord(java.lang.String, org.apache.james.jspf.core.SPF1Record)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.