de.malowa.rules.white
Interface WhitelistRule

All Known Implementing Classes:
AbuseRule, SecretAddressRule

public interface WhitelistRule

This interface can be used to define your own rules for blocking delivery attempts. See RuleEvaluator how your own rules can be added to the program. See de.malowa.suggestions.black for full functional and usable examples. Information: Use this kind of rule frequently and if you can be sure that it triggers for known mail servers. The mail will pass and no entry will be added to the greylist database.

Author:
Marcel Lohmann

Method Summary
 boolean shouldBeWhitelisted(SMTPInformation info)
          Implement the method to determine whitelisting.
 

Method Detail

shouldBeWhitelisted

boolean shouldBeWhitelisted(SMTPInformation info)
Implement the method to determine whitelisting.

Parameters:
info - can be used for decision.
Returns:
true if the mail should pass