FileDocCategorySizeDatePackage
SMTPHandlerConfigurationData.javaAPI DocApache James 2.3.13296Fri Jan 12 12:56:26 GMT 2007org.apache.james.smtpserver

SMTPHandlerConfigurationData

public interface SMTPHandlerConfigurationData
Provides a number of server-wide constant values to the SMTPHandlers

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetHelloName()
Returns the service wide hello name

return
the hello name

public org.apache.james.services.MailServergetMailServer()
Returns the MailServer interface for this service.

return
the MailServer interface for this service

public longgetMaxMessageSize()
Returns the service wide maximum message size in bytes.

return
the maximum message size

public intgetResetLength()
Returns the service wide reset length in bytes.

return
the reset length

public org.apache.james.services.UsersRepositorygetUsersRepository()
Returns the UsersRepository for this service.

return
the local users repository

public booleanisAuthRequired(java.lang.String remoteIP)
Returns whether SMTP AUTH is active for this server, and necessary for the IP address passed.

param
remoteIP the remote IP address in String form
return
whether SMTP authentication is on

public booleanisAuthRequired()
Returns whether SMTP auth is active for this server.

return
whether SMTP authentication is on

public booleanisRelayingAllowed(java.lang.String remoteIP)
Returns whether relaying is allowed for the IP address passed.

param
remoteIP the remote IP address in String form
return
whether relaying is allowed

public booleanisVerifyIdentity()
Returns whether the service validates the identity of its senders.

return
whether SMTP authentication is on

public booleanuseHeloEhloEnforcement()
Returns whether the remote server needs to send a HELO/EHLO of its senders.

return
whether SMTP authentication is on