de.malowa.rules.pass
Interface PassRule

All Known Implementing Classes:
InsaneMailserverRule, PossibleMTARule

public interface PassRule

Is used to determine if a mail server should pass greylisting, even if the delay time is not over. See RuleEvaluator on how to integrate your own rules to the program. See de.malowa.suggestions.pass for working and usable examples.

Author:
Marcel Lohmann

Method Summary
 boolean shouldBeWhitelisted(SMTPInformation info, MailHistory history)
          Implementation must return true if the current delivery attempt should bypass the greylist delay.
 

Method Detail

shouldBeWhitelisted

boolean shouldBeWhitelisted(SMTPInformation info,
                            MailHistory history)
Implementation must return true if the current delivery attempt should bypass the greylist delay. One can use the SMTP session information and the past history for making a decision.

Parameters:
info - information of current SMTP session
history - history of past SMTP sessions
Returns:
true if the attempt should bypass greylisting