Configuring the deferred queue timer using the CLI

Prev Next

Follow these steps to set the maximum number of days an email will stay in any of the MTA queues before it is purged. If soft bounce is enabled, emails are moved from the deferred queue to the bounced queue when the queue timer expires. The default value is 5 days.

Follow these steps to specify the number of days an email stays in the deferred queue:

  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. To set the number of days (between 1 and 15) on the timer for all MTA queues:

    hostname (config) # email-analysis mta max-queue-lifetime <days>

  3. To reset the timer to the default value of 5 days:

    hostname (config) # [no] email-analysis mta max-queue-lifetime

  4. View the current queue timer configuration for the email analysis MTA by checking the value displayed for the max queue lifetime. In the following example, the max queue lifetime is set to the default value:

    hostname (config) # show email-analysis mta config 
      Email MTA Configuration:
        smtp-bind-address :              0.0.0.0
        client-connection-limit :        50
        default-process-limit :          102400
        header-size-limit :              50
        hopcount-limit :                 50
        destination-concurrency-limit :  50
        max-queue-lifetime :             5
        max-bounced-lifetime :           5
        message-size-limit :             990
        smtp-line-length-limit :         300
        smtpd-timeout :                  20
        tls-received-header :            yes
        softbounce :                     yes
        client-header :                  no
        pickup-timeout :                 60
        minimal_backoff_time :           300
    	    
    	.
    	.
    	.
  5. Save your changes.

    hostname (config) # write memory