|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mailet.base.GenericMailet
org.apache.james.transport.mailets.SPF
public class SPF
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:
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 |
---|
public static final java.lang.String EXPLANATION_ATTRIBUTE
public static final java.lang.String RESULT_ATTRIBUTE
Constructor Detail |
---|
public SPF()
Method Detail |
---|
public void init()
init
in class org.apache.mailet.base.GenericMailet
public void service(org.apache.mailet.Mail mail) throws javax.mail.MessagingException
service
in interface org.apache.mailet.Mailet
service
in class org.apache.mailet.base.GenericMailet
javax.mail.MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |