org.apache.james.smtpserver
Interface SMTPHandlerConfigurationData


public interface SMTPHandlerConfigurationData

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

Author:
Peter M. Goldstein

Method Summary
 String getHelloName()
          Returns the service wide hello name
 MailServer getMailServer()
          Returns the MailServer interface for this service.
 long getMaxMessageSize()
          Returns the service wide maximum message size in bytes.
 int getResetLength()
          Returns the service wide reset length in bytes.
 UsersRepository getUsersRepository()
          Returns the UsersRepository for this service.
 boolean isAuthRequired()
          Returns whether SMTP auth is active for this server.
 boolean isVerifyIdentity()
          Returns whether the service validates the identity of its senders.
 

Method Detail

getHelloName

public String getHelloName()
Returns the service wide hello name

Returns:
the hello name

getResetLength

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

Returns:
the reset length

getMaxMessageSize

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

Returns:
the maximum message size

isAuthRequired

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

Returns:
whether SMTP authentication is on

isVerifyIdentity

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

Returns:
whether SMTP authentication is on

getMailServer

public MailServer getMailServer()
Returns the MailServer interface for this service.

Returns:
the MailServer interface for this service

getUsersRepository

public UsersRepository getUsersRepository()
Returns the UsersRepository for this service.

Returns:
the local users repository


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."