de.malowa.suggestions.white
Class AbuseRule

java.lang.Object
  extended by de.malowa.suggestions.white.AbuseRule
All Implemented Interfaces:
WhitelistRule

public class AbuseRule
extends java.lang.Object
implements WhitelistRule

Lets pass all mails sent to the postmaster's address and the abuse mail address in any domain.

Author:
Marcel Lohmann

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

Constructor Detail

AbuseRule

public AbuseRule()
Method Detail

shouldBeWhitelisted

public boolean shouldBeWhitelisted(SMTPInformation info)
Description copied from interface: WhitelistRule
Implement the method to determine whitelisting.

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