|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.malowa.suggestions.pass.PossibleMTARule
public class PossibleMTARule
Lets pass mails which seem to come apparently from real MTAs. If the sender's hostname starts with 'mail', 'smtp', 'mo-p' or 'mx' and some numbers, one can be sure that this is a mail server. To be sure that this is no fake, the mail only pass at second delivery attempt.
| Constructor Summary | |
|---|---|
PossibleMTARule()
|
|
| Method Summary | |
|---|---|
boolean |
shouldBeWhitelisted(SMTPInformation info,
MailHistory history)
Implementation must return true if the current delivery attempt should bypass the greylist delay. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PossibleMTARule()
| Method Detail |
|---|
public boolean shouldBeWhitelisted(SMTPInformation info,
MailHistory history)
PassRule
shouldBeWhitelisted in interface PassRuleinfo - information of current SMTP sessionhistory - history of past SMTP sessions
PassRule.shouldBeWhitelisted(de.malowa.greylister.SMTPInformation,
de.malowa.greylister.MailHistory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||