Modifier and Type | Method and Description |
---|---|
HookResult |
DeliverToRecipientHook.deliver(SMTPSession session,
MailAddress recipient,
MailEnvelope envelope)
Deliver the message to the recipient
|
Modifier and Type | Method and Description |
---|---|
protected HookResult |
HeloCmdHandler.callHook(HeloHook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
protected abstract HookResult |
AbstractHookableCmdHandler.callHook(Hook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
protected HookResult |
MailCmdHandler.callHook(MailHook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
protected HookResult |
QuitCmdHandler.callHook(QuitHook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
protected HookResult |
RcptCmdHandler.callHook(RcptHook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
protected HookResult |
UnknownCmdHandler.callHook(UnknownHook rawHook,
SMTPSession session,
String parameters) |
HookResult |
AbstractSenderAuthIdentifyVerificationRcptHook.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
AcceptRecipientIfRelayingIsAllowed.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
AbstractAuthRequiredToRelayRcptHook.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
PostmasterAbuseRcptHook.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
Modifier and Type | Method and Description |
---|---|
static SMTPResponse |
AbstractHookableCmdHandler.calcDefaultSMTPResponse(HookResult result)
Convert the HookResult to SMTPResponse using default values.
|
Modifier and Type | Method and Description |
---|---|
protected HookResult |
EhloCmdHandler.callHook(HeloHook rawHook,
SMTPSession session,
String parameters)
Must be implemented by hookable cmd handlers to make the effective call to an hook.
|
HookResult |
MailSizeEsmtpExtension.doMailParameter(SMTPSession session,
String paramName,
String paramValue) |
HookResult |
AuthCmdHandler.doMailParameter(SMTPSession session,
String paramName,
String paramValue) |
HookResult |
MailSizeEsmtpExtension.onMessage(SMTPSession session,
MailEnvelope mail) |
Modifier and Type | Method and Description |
---|---|
protected Response |
AuthCmdHandler.calcDefaultSMTPResponse(HookResult result)
Calculate the SMTPResponse for the given result
|
Modifier and Type | Method and Description |
---|---|
HookResult |
ResolvableEhloHeloHandler.doHelo(SMTPSession session,
String helo) |
HookResult |
ValidSenderDomainHandler.doMail(SMTPSession session,
MailAddress sender) |
HookResult |
SpamTrapHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
ResolvableEhloHeloHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
MaxRcptHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
DNSRBLHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
AbstractValidRcptHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
AbstractGreylistHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
SupressDuplicateRcptHandler.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt) |
HookResult |
MaxUnknownCmdHandler.doUnknown(SMTPSession session,
String command) |
Modifier and Type | Method and Description |
---|---|
HookResult |
HookResultLogger.onHookResult(SMTPSession session,
HookResult hResult,
long executionTime,
Hook hook) |
Modifier and Type | Method and Description |
---|---|
HookResult |
HookResultLogger.onHookResult(SMTPSession session,
HookResult hResult,
long executionTime,
Hook hook) |
Modifier and Type | Method and Description |
---|---|
static HookResult |
HookResult.declined() |
static HookResult |
HookResult.deny() |
static HookResult |
HookResult.denysoft() |
static HookResult |
HookResult.disconnect() |
HookResult |
AuthHook.doAuth(SMTPSession session,
String username,
String password)
Return the HookResult after run the hook
|
HookResult |
HeloHook.doHelo(SMTPSession session,
String helo)
Return the HookResult after run the hook
|
HookResult |
SimpleHook.doHelo(SMTPSession session,
String helo)
Return
HookResult with HookReturnCode.DECLINED |
HookResult |
MailHook.doMail(SMTPSession session,
MailAddress sender)
Return the HookResult after run the hook
|
HookResult |
SimpleHook.doMail(SMTPSession session,
MailAddress sender)
Return
HookResult with HookReturnCode.DECLINED |
HookResult |
MailParametersHook.doMailParameter(SMTPSession session,
String paramName,
String paramValue)
Return the HookResult after run the hook
|
HookResult |
QuitHook.doQuit(SMTPSession session)
Return the HookResult after run the hook
|
HookResult |
RcptHook.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt)
Return the HookResult after run the hook
|
HookResult |
SimpleHook.doRcpt(SMTPSession session,
MailAddress sender,
MailAddress rcpt)
Return
HookResult with HookReturnCode.DECLINED |
HookResult |
UnknownHook.doUnknown(SMTPSession session,
String command)
Called on unknown smtp command
|
static HookResult |
HookResult.ok() |
HookResult |
HookResultHook.onHookResult(SMTPSession session,
HookResult result,
long executionTime,
Hook object) |
HookResult |
MessageHook.onMessage(SMTPSession session,
MailEnvelope mail)
Handle Message
|
HookResult |
SimpleHook.onMessage(SMTPSession session,
MailEnvelope mail)
Return
HookResult with HookReturnCode.OK |
Modifier and Type | Method and Description |
---|---|
HookResult |
HookResultHook.onHookResult(SMTPSession session,
HookResult result,
long executionTime,
Hook object) |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.