public interface SMTPServerMBean extends org.apache.james.protocols.smtp.SMTPServerMBean, ServerMBean
Modifier and Type | Method and Description |
---|---|
boolean |
getAddressBracketsEnforcement()
Return true if brackets around addresses in the MAIL and RCPT are
required
|
boolean |
getHeloEhloEnforcement()
Return true if a HELO/EHLO is required when connecting to this server
|
String |
getHeloName()
Return the hello name
|
long |
getMaximalMessageSize()
Return the maximum allowed size of the message
|
void |
setAddressBracketsEnforcement(boolean enforceAddressBrackets)
Enable or disable brackets enforcement around addressed in the MAIL and
RCPT command
|
void |
setHeloEhloEnforcement(boolean enforceHeloEHlo)
Enable or disable the need of the HELO/EHLO
|
void |
setMaximalMessageSize(long maxSize)
Set the maximum allowed size of messages.
|
getSocketType, isEnabled
getBoundAddresses, getCurrentConnections, getHandledConnections, getMaximumConcurrentConnections, getServiceType, getSocketType, getStartTLSSupported, getTimeout, isEnabled, isStarted, start, stop
long getMaximalMessageSize()
void setMaximalMessageSize(long maxSize)
maxSize
- boolean getAddressBracketsEnforcement()
void setAddressBracketsEnforcement(boolean enforceAddressBrackets)
enforceAddressBrackets
- boolean getHeloEhloEnforcement()
void setHeloEhloEnforcement(boolean enforceHeloEHlo)
enforceHeloEHlo
- String getHeloName()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.