How to switch from a service to another (such as courier to dovecot)?

Run the i-MSCP installer script as follow:

# perl imscp-autoinstall --debug --reconfigure

And then, switch to the desired service by selecting it in the related dialog box.