|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.malowa.suggestions.cleanup.HostNotGivenRule
public class HostNotGivenRule
Removes all database entries if the sender's host name is not resolvable and when they have not passed the greylist after two hours.
Constructor Summary | |
---|---|
HostNotGivenRule()
|
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 HostNotGivenRule()
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 |