de.malowa.suggestions.black
Class BadCocoNutsRule

java.lang.Object
  extended by de.malowa.suggestions.black.BadCocoNutsRule
All Implemented Interfaces:
BlacklistRule

public class BadCocoNutsRule
extends java.lang.Object
implements BlacklistRule

Blocks with a HELO pretending to come from top level domain .CC and having two occurrences of the string 'mail' in the HELO. This is a really strong indication of a spammer.

Author:
Marcel Lohmann

Constructor Summary
BadCocoNutsRule()
           
 
Method Summary
 boolean shouldBeBlacklisted(SMTPInformation info)
          Implement the method to determine blacklisting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BadCocoNutsRule

public BadCocoNutsRule()
Method Detail

shouldBeBlacklisted

public boolean shouldBeBlacklisted(SMTPInformation info)
Description copied from interface: BlacklistRule
Implement the method to determine blacklisting.

Specified by:
shouldBeBlacklisted in interface BlacklistRule
Parameters:
info - can be used for decision.
Returns:
true if the mail should be blocked
See Also:
BlacklistRule.shouldBeBlacklisted(de.malowa.greylister.SMTPInformation)