SK.gnome.dwarf.mail.smtp
Class SMTPConstants

java.lang.Object
  extended bySK.gnome.dwarf.Constants
      extended bySK.gnome.dwarf.tcpip.TCPIPConstants
          extended bySK.gnome.dwarf.mail.MailConstants
              extended bySK.gnome.dwarf.mail.smtp.SMTPConstants

public class SMTPConstants
extends MailConstants

Provides global SMTP-related constants.


Field Summary
static java.lang.String POSTMASTER
          Default name of the postmaster user account.
static java.text.DateFormat SMTP_DATE_FORMAT
          RFC 822 date format.
static int SMTP_DEFAULT_AUTOREPLY_DELAY
          Default delay for delivering an automatic reply in milliseconds.
static java.lang.String SMTP_DEFAULT_QUEUE_DATE_FORMAT
          Default queue date/time format.
static int SMTP_DEFAULT_QUEUE_INTERVAL
          Default queue processing interval.
static int SMTP_MAX_COMMAND_LINE_LENGTH
          Maximum length of the SMTP command.
static int SMTP_MAX_DOMAIN_NAME_LENGTH
          Maximum length of the RFC 822 address' domain part.
static int SMTP_MAX_FORWARD_PATH_LENGTH
          Maximum length of the SMTP forward path.
static int SMTP_MAX_REPLY_LINE_LENGTH
          Maximum length of the SMTP reply line.
static int SMTP_MAX_USER_NAME_LENGTH
          Maximum length of the RFC 822 address' local part.
static int SMTP_MIN_MESSAGE_SIZE
          Minimum possible limit for size of a single message in bytes.
static int SMTP_MIN_RECIPIENTS_NUMBER
          Minimum possible limit for number of recipients in a single message.
static java.lang.String SMTP_TRACE
          String identifier for enabling/disabling the SMTP protocol tracing messages.
 
Fields inherited from class SK.gnome.dwarf.mail.MailConstants
MAIL_DEFAULT_AUTO_CREATE_STORE, MAIL_DEFAULT_SEARCH_CHARSET, MAIL_MAX_HEADER_LENGTH, MAIL_MAX_LINE_LENGTH, MAIL_REQUIRED_DWARF_VERSION
 
Fields inherited from class SK.gnome.dwarf.tcpip.TCPIPConstants
TCPIP_DEFAULT_BACKLOG_SIZE, TCPIP_DEFAULT_HANDLER_TIMEOUT, TCPIP_DEFAULT_MAX_HANDLERS, TCPIP_DEFAULT_MIN_HANDLERS, TCPIP_DEFAULT_QUEUE_SIZE, TCPIP_DEFAULT_REGISTRATION_QUEUE_SIZE, TCPIP_DEFAULT_UDP_PACKET_SIZE, TCPIP_MAX_UDP_PACKET_SIZE
 
Fields inherited from class SK.gnome.dwarf.Constants
DEFAULT_CACHE_INTERVAL, DEFAULT_CONSOLE_TIMEOUT, DEFAULT_SHUTDOWN_TIMEOUT, LS, PLATFORM_DETAILS
 
Constructor Summary
SMTPConstants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMTP_TRACE

public static final java.lang.String SMTP_TRACE
String identifier for enabling/disabling the SMTP protocol tracing messages.

Value: "smtp.protocol"

See Also:
Constant Field Values

POSTMASTER

public static final java.lang.String POSTMASTER
Default name of the postmaster user account.

Value: "postmaster"

See Also:
Constant Field Values

SMTP_DATE_FORMAT

public static final java.text.DateFormat SMTP_DATE_FORMAT
RFC 822 date format.

Access to this object must be synchronized on it.


SMTP_DEFAULT_QUEUE_INTERVAL

public static final int SMTP_DEFAULT_QUEUE_INTERVAL
Default queue processing interval.

This is the interval of mail queue scanning and processiong.

Value: 900

See Also:
Constant Field Values

SMTP_DEFAULT_QUEUE_DATE_FORMAT

public static final java.lang.String SMTP_DEFAULT_QUEUE_DATE_FORMAT
Default queue date/time format.

It is used to print out the queued mail information.

Value: "dd-MM-yyyy HH:mm:ss"

See Also:
Constant Field Values

SMTP_MAX_USER_NAME_LENGTH

public static final int SMTP_MAX_USER_NAME_LENGTH
Maximum length of the RFC 822 address' local part.

Value: 64

See Also:
Constant Field Values

SMTP_MAX_DOMAIN_NAME_LENGTH

public static final int SMTP_MAX_DOMAIN_NAME_LENGTH
Maximum length of the RFC 822 address' domain part.

Value: 256

See Also:
Constant Field Values

SMTP_MAX_FORWARD_PATH_LENGTH

public static final int SMTP_MAX_FORWARD_PATH_LENGTH
Maximum length of the SMTP forward path.

Value: 256

See Also:
Constant Field Values

SMTP_MAX_COMMAND_LINE_LENGTH

public static final int SMTP_MAX_COMMAND_LINE_LENGTH
Maximum length of the SMTP command.

Value: 1024

See Also:
Constant Field Values

SMTP_MAX_REPLY_LINE_LENGTH

public static final int SMTP_MAX_REPLY_LINE_LENGTH
Maximum length of the SMTP reply line.

Value: 512

See Also:
Constant Field Values

SMTP_MIN_RECIPIENTS_NUMBER

public static final int SMTP_MIN_RECIPIENTS_NUMBER
Minimum possible limit for number of recipients in a single message.

Value: 100

See Also:
Constant Field Values

SMTP_MIN_MESSAGE_SIZE

public static final int SMTP_MIN_MESSAGE_SIZE
Minimum possible limit for size of a single message in bytes.

Value: 64*1024

See Also:
Constant Field Values

SMTP_DEFAULT_AUTOREPLY_DELAY

public static final int SMTP_DEFAULT_AUTOREPLY_DELAY
Default delay for delivering an automatic reply in milliseconds.

Value: 24 hours

See Also:
Constant Field Values
Constructor Detail

SMTPConstants

public SMTPConstants()


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.