public interface IMilterStatus
IMilterHandler
.Modifier and Type | Field and Description |
---|---|
static IMilterStatus |
SMFIS_ACCEPT
Acceptance.
|
static IMilterStatus |
SMFIS_CONTINUE
Continue processing the current connection, message, or recipient.
|
static IMilterStatus |
SMFIS_DISCARD
Message discard.
|
static IMilterStatus |
SMFIS_NOREPLY
Do not send a reply back to the MTA.
|
static IMilterStatus |
SMFIS_REJECT
Rejection.
|
static IMilterStatus |
SMFIS_SKIP
Skip further body processing.
|
static IMilterStatus |
SMFIS_TEMPFAIL
Return a temporary failure, i.e., the corresponding SMTP command will return an appropriate 4xx status code.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
ByteBuffer |
getMessage() |
static final IMilterStatus SMFIS_CONTINUE
static final IMilterStatus SMFIS_REJECT
static final IMilterStatus SMFIS_DISCARD
SMFIS_DISCARD
should not be returned by a connection-oriented routine.static final IMilterStatus SMFIS_ACCEPT
close
. For a message- or recipient-oriented routine, accept this message without
further filtering.static final IMilterStatus SMFIS_SKIP
static final IMilterStatus SMFIS_TEMPFAIL
envfrom
), fail for this message. For a
connection-oriented routine, fail for this connection; call close
. For a
recipient-oriented routine, only fail for the current recipient; continue message processing.static final IMilterStatus SMFIS_NOREPLY
int getCode()
ByteBuffer getMessage()
Copyright © 2016. All rights reserved.