Stopping and restarting the MTA process using the CLI

Prev Next

Use the commands in this section to stop the MTA process, and then restart it after the maintenance activity is done.

To stop the MTA process:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Stop the MTA process:

    hostname (config) # email-analysis mta stop
  3. Verify your change:

    hostname (config) # show email-analysis mta status
To restart the MTA process:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Restart the MTA process:

    hostname (config) # email-analysis mta start
  3. Verify your change:

    hostname (config) # show email-analysis mta status

Examples

The following example stops the MTA process.

hostname (config) # email-analysis mta stop
The MTA has been stopped. No email will be processed.
hostname (config) # show email-analysis mta status
Congestion Control in effect?  no
Interface Disabled:            no
MTA Process Status:            stopped

The following example restarts the MTA process.

hostname (config) # email-analysis mta start
Restarting the MTA.  Check 'show email-analysis mta status' to see status.
hostname (config) # show email-analysis mta status
Congestion Control in effect?  no
Interface Disabled:            no
MTA Process Status:            running