org.apache.james.jspf.policies.local
Class TrustedForwarderPolicy
java.lang.Object
org.apache.james.jspf.policies.local.TrustedForwarderPolicy
- All Implemented Interfaces:
- PolicyPostFilter
public class TrustedForwarderPolicy
- extends Object
- implements PolicyPostFilter
PolicyPostFilter which implements trusted forwared.
See http://www.trusted-forwarder.org for more informations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRUSTED_FORWARDER_HOST
public static final String TRUSTED_FORWARDER_HOST
- The hostname to include
- See Also:
- Constant Field Values
TrustedForwarderPolicy
public TrustedForwarderPolicy(Logger log)
- Parameters:
log
- the logger
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 interface PolicyPostFilter
- Parameters:
currentDomain
- the domain to retrieve the SPFRecord forspfRecord
- the previous record
- Returns:
- the SPFRecord found
- Throws:
PermErrorException
- exception
TempErrorException
- exception
NoneException
- exception
NeutralException
- exception- See Also:
PolicyPostFilter.getSPFRecord(java.lang.String, org.apache.james.jspf.core.SPF1Record)
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.