org.apache.james.transport.matchers
Class InSpammerBlacklist

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

public class InSpammerBlacklist
extends org.apache.mailet.base.GenericMatcher

Checks the network IP address of the sending server against a blacklist of spammers. There are 3 lists that support this...

Example: <mailet match="InSpammerBlacklist=blackholes.mail-abuse.org." class="ToProcessor"> <processor>spam</processor> </mailet>


Constructor Summary
InSpammerBlacklist()
           
 
Method Summary
 void init()
           
 java.util.Collection match(org.apache.mailet.Mail mail)
           
 
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

InSpammerBlacklist

public InSpammerBlacklist()
Method Detail

init

public void init()
          throws javax.mail.MessagingException
Overrides:
init in class org.apache.mailet.base.GenericMatcher
Throws:
javax.mail.MessagingException

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.