org.apache.james.transport.mailets
Class SPF

java.lang.Object
  extended by org.apache.mailet.base.GenericMailet
      extended by org.apache.james.transport.mailets.SPF
All Implemented Interfaces:
org.apache.mailet.Mailet, org.apache.mailet.MailetConfig

public class SPF
extends org.apache.mailet.base.GenericMailet

Check the ip, sender, helo against SPF. Add the following attributes to the mail object: org.apache.james.transport.mailets.spf.explanation org.apache.james.transport.mailets.spf.result Sample configuration: true false


Field Summary
static java.lang.String EXPLANATION_ATTRIBUTE
           
static java.lang.String RESULT_ATTRIBUTE
           
 
Constructor Summary
SPF()
           
 
Method Summary
 void init()
           
 void service(org.apache.mailet.Mail mail)
           
 
Methods inherited from class org.apache.mailet.base.GenericMailet
arrayToString, checkInitParameters, destroy, getInitParameter, getInitParameter, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetInfo, getMailetName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXPLANATION_ATTRIBUTE

public static final java.lang.String EXPLANATION_ATTRIBUTE
See Also:
Constant Field Values

RESULT_ATTRIBUTE

public static final java.lang.String RESULT_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

SPF

public SPF()
Method Detail

init

public void init()
Overrides:
init in class org.apache.mailet.base.GenericMailet

service

public void service(org.apache.mailet.Mail mail)
             throws javax.mail.MessagingException
Specified by:
service in interface org.apache.mailet.Mailet
Specified by:
service in class org.apache.mailet.base.GenericMailet
Throws:
javax.mail.MessagingException


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.