|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.malowa.suggestions.delay.HeloWithoutDotRule
public class HeloWithoutDotRule
Adds ten minutes of delay time for all mails which do not have a dot (.) in the HELO string.
Constructor Summary | |
---|---|
HeloWithoutDotRule()
|
Method Summary | |
---|---|
int |
getDelayTime(SMTPInformation mail)
Returns the delay in minutes for the given SMTP mail header. |
int |
getDelayTimeWithHistory(SMTPInformation info,
MailHistory history)
Returns the delay in minutes for the given SMTP mail header. |
void |
update()
Will be called regularly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeloWithoutDotRule()
Method Detail |
---|
public int getDelayTime(SMTPInformation mail)
DelayRule
getDelayTime
in interface DelayRule
mail
- SMTP information to utilize
DelayRule.getDelayTime(de.malowa.greylister.SMTPInformation)
public int getDelayTimeWithHistory(SMTPInformation info, MailHistory history)
DelayRule
DelayRule.getDelayTime(SMTPInformation)
without considering history.
getDelayTimeWithHistory
in interface DelayRule
info
- SMTP information to utilizehistory
- the history of past delivery attempts to utilize
DelayRule.getDelayTimeWithHistory(de.malowa.greylister.SMTPInformation,
de.malowa.greylister.MailHistory)
public void update()
DelayRule
update
in interface DelayRule
DelayRule.update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |