How to change webmail type for all domains in plesk windows.

Steps for Plesk for Windows: Login to the server via RDP . To get the list of domains: run following command from command line plesk db -Ne "select name from domains" > C:\domains.txt Go to Plesk bin directory using…

All Articles

Steps for Plesk for Windows:

  1. Login to the server via RDP.
  2. To get the list of domains: run following command from command line

plesk db -Ne "select name from domains" > C:\domains.txt

Go to Plesk bin directory using following command

cd "%plesk_cli%"

To change the webmail all domains to use Horde:

for /f "tokens=*" %d in ('type C:\\domains.txt') do subscription_settings.exe -u %d -webmail horde

Note: use mewebmail to switch all webmails to MailEnable webmail.

Published by

anup

Technical content from the 24x7ServerSupport infrastructure, server management and cloud operations team.