|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.protocols.smtp.SMTPConfigurationImpl
public class SMTPConfigurationImpl
| Field Summary | |
|---|---|
String |
helloName
|
| Constructor Summary | |
|---|---|
SMTPConfigurationImpl()
|
|
| Method Summary | |
|---|---|
String |
getHelloName()
Returns the service wide hello name |
long |
getMaxMessageSize()
Returns the service wide maximum message size in bytes. |
String |
getSMTPGreeting()
Return the SMTPGreeting which should used. |
boolean |
isAuthRequired(String remoteIP)
Returns whether SMTP AUTH is active for this server, and necessary for the IP address passed. |
boolean |
isRelayingAllowed(String remoteIP)
Returns whether relaying is allowed for the IP address passed. |
boolean |
isStartTLSSupported()
Return true if STARTTLS is supported. |
void |
setHeloEhloEnforcement(boolean enforceHeloEhlo)
|
void |
setSMTPGreeting(String greeting)
|
void |
setStartTLSSupported(boolean startTLSsupported)
|
void |
setUseAddressBracketsEnforcement(boolean bracketsEnforcement)
|
boolean |
useAddressBracketsEnforcement()
Return wheter the mailserver will accept addresses without brackets enclosed. |
boolean |
useHeloEhloEnforcement()
Returns whether the remote server needs to send a HELO/EHLO of its senders. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String helloName
| Constructor Detail |
|---|
public SMTPConfigurationImpl()
| Method Detail |
|---|
public String getHelloName()
SMTPConfiguration
getHelloName in interface SMTPConfigurationpublic long getMaxMessageSize()
SMTPConfiguration
getMaxMessageSize in interface SMTPConfigurationpublic boolean isRelayingAllowed(String remoteIP)
SMTPConfiguration
isRelayingAllowed in interface SMTPConfigurationremoteIP - the remote IP address in String form
public boolean isAuthRequired(String remoteIP)
SMTPConfiguration
isAuthRequired in interface SMTPConfigurationremoteIP - the remote IP address in String form
public void setHeloEhloEnforcement(boolean enforceHeloEhlo)
public boolean useHeloEhloEnforcement()
SMTPConfiguration
useHeloEhloEnforcement in interface SMTPConfigurationpublic String getSMTPGreeting()
SMTPConfiguration
getSMTPGreeting in interface SMTPConfigurationpublic void setSMTPGreeting(String greeting)
public boolean useAddressBracketsEnforcement()
SMTPConfiguration
useAddressBracketsEnforcement in interface SMTPConfigurationpublic void setUseAddressBracketsEnforcement(boolean bracketsEnforcement)
public boolean isStartTLSSupported()
SMTPConfigurationtrue if STARTTLS is supported.
isStartTLSSupported in interface SMTPConfigurationpublic void setStartTLSSupported(boolean startTLSsupported)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||