org.apache.james.transport.matchers
Class RemoteAddrInNetwork

java.lang.Object
  extended by org.apache.mailet.base.GenericMatcher
      extended by org.apache.james.transport.matchers.AbstractNetworkMatcher
          extended by org.apache.james.transport.matchers.RemoteAddrInNetwork
All Implemented Interfaces:
org.apache.mailet.Matcher, org.apache.mailet.MatcherConfig

public class RemoteAddrInNetwork
extends AbstractNetworkMatcher

Checks the IP address of the sending server against a comma- delimited list of IP addresses, domain names or sub-nets.

See AbstractNetworkMatcher for details on how to specify entries.


Constructor Summary
RemoteAddrInNetwork()
           
 
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

RemoteAddrInNetwork

public RemoteAddrInNetwork()
Method Detail

match

public java.util.Collection match(org.apache.mailet.Mail mail)
Specified by:
match in interface org.apache.mailet.Matcher
Specified by:
match in class org.apache.mailet.base.GenericMatcher


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