Sun Java System Messaging Server 6 2005Q4 Administration Guide

ProcedureTo Start Up, Shut Down, or View the Status of Any Messaging Services

Steps
  1. From Console, open the Messaging Server whose services you want to start or stop.

  2. Get to the Services General Configuration form in either of these two ways:

    1. Click the Tasks tab, then click “Start/Stop Services”.

    2. Click the Configuration tab and select the Services folder in the left pane. Then click the General tab in the right pane.

  3. The Services General Configuration form appears.

    The left column of the Process Control field lists the services supported by the server; the right column gives the basic status of each of the services (ON or OFF, plus—if it is ON—the time it was last started).

  4. To view status information about a service that is currently on, select the service in the Process Control field.

    The Service Status field displays status information about the service.

    For POP, IMAP, and HTTP the field shows the last connection time, the total number of connections, the current number of connections, the number of failed connections since the service last started, and the number of failed logins since the service last started.

    The information in this field helps you to understand the load on the server and the reliability of its service, and it can help spotlight attacks against the server’s security.

  5. To turn a service on, select it in the Process Control field and click Start.

  6. To turn a service off, select it in the Process Control field and click Stop.

  7. To turn all enabled services on or off simultaneously, click the Start All or Stop All button.

    Command Line: You can use the start-msg and stop-msg commands to start or stop any of the messaging services (smtp, imap, pop, store, http, ens, sched). Examples:

    msg_svr_base/sbin/start-msg imap

    msg_svr_base/sbin/stop-msg pop

    msg_svr_base/sbin/stop-msg sched

    msg_svr_base/sbin/stop-msg smtp

    The services must be enabled in order to stop or start them. See To Specify What Services are Started


    Note –

    The start-msg and stop-msg command start and stop all of the MTA services, not just the SMTP server. If you want more granular control when starting or stopping the MTA services, you can use the start/stop-msg command for the dispatcher and the job controller. For more information, see start-msg in Sun Java System Messaging Server 6 2005Q4 Administration Reference and stop-msg in Sun Java System Messaging Server 6 2005Q4 Administration Reference..