|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.malowa.suggestions.cleanup.ManyNumbersRule
public class ManyNumbersRule
If the client host name contains more than five numbers and no further delivery attempts occur, the entry will be deleted after one hour.
Constructor Summary | |
---|---|
ManyNumbersRule()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManyNumbersRule()
Method Detail |
---|
public java.util.Date dateToRemoveNoRetry(SMTPInformation info, MailHistory history)
CleanUpRule
null
when another rule should be used to specify date.
dateToRemoveNoRetry
in interface CleanUpRule
null
if date can not be determinedCleanUpRule.dateToRemoveNoRetry(de.malowa.greylister.SMTPInformation,
de.malowa.greylister.MailHistory)
public java.util.Date dateToRemovePassedEntry(SMTPInformation info, MailHistory history)
CleanUpRule
null
when another rule should be
used to specify date.
dateToRemovePassedEntry
in interface CleanUpRule
null
if date can not be determinedCleanUpRule.dateToRemovePassedEntry(de.malowa.greylister.SMTPInformation,
de.malowa.greylister.MailHistory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |