|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.james.smtpserver.core.filter.fastfail.AbstractJunkHandler
org.apache.james.smtpserver.core.filter.fastfail.URIRBLHandler
public class URIRBLHandler
Extract domains from message and check against URIRBLServer. For more informations see http://www.surbl.org
| Constructor Summary | |
|---|---|
URIRBLHandler()
|
|
| Method Summary | |
|---|---|
protected boolean |
check(SMTPSession session)
All checks must be done in this method |
void |
configure(org.apache.avalon.framework.configuration.Configuration arg0)
|
JunkHandlerData |
getJunkHandlerData(SMTPSession session)
Get the JunkHandlerData to work with |
void |
onMessage(SMTPSession session)
|
void |
service(org.apache.avalon.framework.service.ServiceManager serviceMan)
|
void |
setCheckAuthNetworks(boolean checkAuthNetworks)
Set to true if AuthNetworks should be included in the EHLO check |
void |
setDnsServer(DNSService dnsServer)
Set the DNSService |
void |
setGetDetail(boolean getDetail)
Set for try to get a TXT record for the blocked record. |
void |
setUriRblServer(java.util.Collection uriRbl)
Set the UriRBL Servers |
| Methods inherited from class org.apache.james.smtpserver.core.filter.fastfail.AbstractJunkHandler |
|---|
doProcessing, getAction, getJunkScore, getScore, setAction, setScore |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIRBLHandler()
| Method Detail |
|---|
public void service(org.apache.avalon.framework.service.ServiceManager serviceMan)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(ServiceManager)
public void configure(org.apache.avalon.framework.configuration.Configuration arg0)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconfigure in class AbstractJunkHandlerorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(Configuration)public void setUriRblServer(java.util.Collection uriRbl)
uriRbl - The Collection holding the serverspublic void setCheckAuthNetworks(boolean checkAuthNetworks)
checkAuthNetworks - Set to true to enablepublic void setDnsServer(DNSService dnsServer)
dnsServer - The DNSServicepublic void setGetDetail(boolean getDetail)
getDetail - Set to ture for enablepublic void onMessage(SMTPSession session)
onMessage in interface MessageHandlerMessageHandler.onMessage(SMTPSession)protected boolean check(SMTPSession session)
AbstractJunkHandler
check in class AbstractJunkHandlersession - the SMTPSession
AbstractJunkHandler.check(org.apache.james.smtpserver.SMTPSession)public JunkHandlerData getJunkHandlerData(SMTPSession session)
AbstractJunkHandler
getJunkHandlerData in class AbstractJunkHandlersession - the SMTPSession
AbstractJunkHandler.getJunkHandlerData(org.apache.james.smtpserver.SMTPSession)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||