Disabling/Enabling Mail Handlers

To disable a handler, run the following command:

# ./mail_handlers_control --disable 
    --name=<handler name> 
    --type=<sender|recipient|sender-domain|recipient-domain|global> 
    --queue=<before-queue|before-local|before-remote|before-data> 
    [ --mailname=<mailname> ]

This command removes the handler from the queue (defined by --queue) and leaves all the data associated with the handler in the database.

 

To enable a handler, run the following command:

# ./mail_handlers_control --enable  
    --name=<handler name> 
    --type=<sender|recipient|sender-domain|recipient-domain|global> 
    --queue=<before-queue|before-local|before-remote|before-data> 
    [ --mailname=<mailname> ]

This command adds the handler to the queue (defined in --queue) basing on the handler data remaining in the database.

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.