Question
How to change webmail for a domain / all domains?
Answer
Note: Before changing webmail, make sure webmail components are installed and enabled.
-
Go to Domains > example.com > Mail tab > Mail Settings.
-
Select required webmail from the drop-down list.
-
Apply the changes
Warning: After switching webmail from Horde to MailEnable Webmail, all contacts will be lost. This is because the contacts are stored in different formats. Horde stores the contacts in Horde's MySQL database. MailEnable Webmail - in the file
%plesk_dir%Mail ServersMail
. If needed, transfer the contacts manually through MailEnable Webmail interface.
EnablePostofficesexample.comMAILROOTjohndoeContacts
-
Connect to the Plesk server via SSH.
-
Generate a file with all domains:
# plesk bin site --list > domains.txt
-
(Optional) Open the file in a text editor and remove those domains that should not have their webmail changed.
-
Change webmail for the domains from the list. In the example below, new webmail will be Roundcube:
# cat domains.txt | while read i; do plesk bin subscription_settings -u $i -webmail roundcube; done
Other options:
-
roundcube
- Roudcube -
horde
- Horde -
none
- no webmai
-
-
Connect to the Plesk server via RDP.
-
Start PowerShell as an Administrator.
-
Generate a file with all domains:
PS plesk bin site --list > C:domains.txt
-
(Optional) Open the file in a text editor and remove those domains that should not have their webmail changes.
-
Change webmail for the domains from the list. In the example below, new webmail will be MailEnable Webmail:
PS more C:domains.txt | % { if ($_) { plesk bin subscription_settings -u $_ -webmail mewebmail } }
Note: The available options are:
-
horde
- Horde -
mewebmail
- MailEnable Webmail -
smwebmail
- SmarterMail Webmail -
none
- no webmailWarning: After switching webmail from Horde to MailEnable Webmail, all contacts will be lost. This is because the contacts are stored in different formats. Horde stores the contacts in Horde's MySQL database. MailEnable Webmail - in the file
%plesk_dir%Mail ServersMail
. If needed, transfer the contacts manually through MailEnable Webmail interface.
EnablePostofficesexample.comMAILROOTjohndoeContacts
-