Articles in this section

How to change webmail for a domain / all domains in Plesk

Plesk for Windows kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change webmail for a domain / all domains?

Answer

Note: Before changing webmail, make sure webmail components are installed and enabled.

 

Changing webmail for a domain

 

  1. Log in to Plesk.

  2. Go to Domains > example.com > Mail tab > Mail Settings.

  3. Select required webmail from the drop-down list.

  4. 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 Servers\Mail Enable\Postoffices\example.com\MAILROOT\johndoe\Contacts. If needed, transfer the contacts manually through MailEnable Webmail interface.

     

Changing webmail for all domains on Linux

 

  1. Connect to the Plesk server via SSH.

  2. Generate a file with all domains:

    # plesk bin site --list > domains.txt

  3. (Optional) Open the file in a text editor and remove those domains that should not have their webmail changed.

  4. 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

 

Changing webmail for all domains on Windows Server

 

  1. Connect to the Plesk server via RDP.

  2. Start PowerShell as an Administrator.

  3. Generate a file with all domains:

    PS plesk bin site --list > C:\domains.txt

  4. (Optional) Open the file in a text editor and remove those domains that should not have their webmail changes.

  5. 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 webmail

       

      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 Servers\Mail Enable\Postoffices\example.com\MAILROOT\johndoe\Contacts. If needed, transfer the contacts manually through MailEnable Webmail interface.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.