|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mailet.base.GenericMatcher
org.apache.james.transport.matchers.AbstractNetworkMatcher
org.apache.james.transport.matchers.SenderInFakeDomain
public class SenderInFakeDomain
Does a DNS lookup (MX and A/CNAME records) on the sender's domain. If there are no entries, the domain is considered fake and the match is successful.
Constructor Summary | |
---|---|
SenderInFakeDomain()
|
Method Summary | |
---|---|
java.util.Collection |
match(org.apache.mailet.Mail mail)
|
Methods inherited from class org.apache.james.transport.matchers.AbstractNetworkMatcher |
---|
allowedNetworks, init, matchNetwork, matchNetwork |
Methods inherited from class org.apache.mailet.base.GenericMatcher |
---|
destroy, getCondition, getMailetContext, getMatcherConfig, getMatcherInfo, getMatcherName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SenderInFakeDomain()
Method Detail |
---|
public java.util.Collection match(org.apache.mailet.Mail mail)
match
in interface org.apache.mailet.Matcher
match
in class org.apache.mailet.base.GenericMatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |