• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question How to redirect webmail from HTTP to HTTPS

Paul Hermans

Basic Pleskian
When installing a SSL certificate for webmail we want to redirect all HTTP traffic to HTTPS.
Note: This is a Plesk for Windows question, not Linux.

If we would install SSL for https://webmail.server123.provider.com/
How can we redirect all traffic from webmail.example.com and webmail.customersite.com to there?

Solution will depend on the webmail that is used as a default for the server:

MailEnable

C:\Program Files (x86)\Parallels\Plesk\Mail Servers\Mail Enable\Bin\NETWebMail

Horde
C:\Program Files (x86)\Parallels\Plesk\Webmail\horde\horde


If the customer has it's own webmail certificate, we need to redirect to their own webmail URL instead of the server default.
 
Solution for MailEnable:

EDIT: C:\Program Files (x86)\Plesk\Mail Servers\Mail Enable\Bin\NETWebMail\Web.config

ADD AFTER: <system.webServer>

<rewrite>
<rules>
<rule name="Redirect to https" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://webmail.server123.provider.com/{REQUEST_URI}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>

But I don't know if and when this file is ever recreated / overwritten by Plesk or MailEnable updates.
 
Back
Top