To update a handler, the following command should be executed:
mailmng --update-handler
--handler-name=<name>
--handler-type=<global|sender-domain|sender|recipient-domain|recipient>
--handler-type-name=<type-name>
--hook=<before-queue|before-local|before-remote>
[--executable=handler]
[--context=context]
[--priority=<number>]
The --handler-name, --handler-type, --handler-type-name and --hook parameters are required and cannot be updated.
The --executable, --context, --priority parameters can be updated.