|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mailet.GenericMatcher org.apache.james.transport.matchers.SenderHostIs
public class SenderHostIs
Checkes the sender's displayed domain name against a supplied list.
Sample configuration:
Constructor Summary | |
---|---|
SenderHostIs()
|
Method Summary | |
---|---|
void |
init()
Initialize the mailet. |
java.util.Collection |
match(Mail mail)
Takes the message and checks the sender (if there is one) against the vector of host names. |
Methods inherited from class org.apache.mailet.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 SenderHostIs()
Method Detail |
---|
public void init()
init
in class GenericMatcher
public java.util.Collection match(Mail mail)
match
in interface Matcher
match
in class GenericMatcher
mail
- the mail being processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |