Use the start-msg and stop-msg commands to start or stop any of the messaging services. 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 4.4.2.1 To Specify What Services Can Be 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.3 Administration Reference and stop-msg in Sun Java System Messaging Server 6.3 Administration Reference.