|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CleanUpRule
CleanUpRules compute a date when an greylisting entry should be
removed from the database.
The time to evaluate the date during program runtime is allowed take some
time. It is not time critical to do advanced calculation, as the SMTP host
already got a response of greylisting status.
See RuleEvaluator on how to integrate your own rules
to the program. See de.malowa.suggestions.cleanup for working and
usable examples.
| Method Summary | |
|---|---|
java.util.Date |
dateToRemoveNoRetry(SMTPInformation info,
MailHistory history)
Must return a date when the current greylist entry should be removed from list. |
java.util.Date |
dateToRemovePassedEntry(SMTPInformation info,
MailHistory history)
Must return a date when the current greylist entry should be removed from list. |
| Method Detail |
|---|
java.util.Date dateToRemovePassedEntry(SMTPInformation info,
MailHistory history)
null when another rule should be
used to specify date.
info - history -
null if date can not be determined
java.util.Date dateToRemoveNoRetry(SMTPInformation info,
MailHistory history)
null when another rule should be used to specify date.
info - history -
null if date can not be determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||