FileDocCategorySizeDatePackage
RemoteAddrInNetwork.javaAPI DocApache James 2.3.11750Fri Jan 12 12:56:32 GMT 2007org.apache.james.transport.matchers

RemoteAddrInNetwork

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.

Fields Summary
Constructors Summary
Methods Summary
public java.util.Collectionmatch(org.apache.mailet.Mail mail)

        return matchNetwork(mail.getRemoteAddr()) ? mail.getRecipients() : null;