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 feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.