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.