• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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 Need to change a single roundcube redirect from webmail to something else

electricd7

New Pleskian
Hello,

I have an existing transfer customer that already has a redirect at webmail.domain.com which forwards their users to their Exchange OWA. I need to replicate that change in the new Plesk setup. This would be very straightfoward by simply creating a forward for this subdomain, except we have RoundCube for webmail installed so anything pointed towards webmail.domain.com automatically brings you to the roundcube login. I have been searching around and it appears that there are roundcube config files at /etc/nginx/plesk.conf.d/webmails/ for each of my vhosts. I would think I could edit these as they spell out the redirects as follows"

server {
listen 11.111.111.111:80;
server_name "webmail.domain.com";

client_max_body_size 128m;

location / {
proxy_pass http://11.111.111.111:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

So I did some searching and found that these files are generated by a file at "/usr/local/psa/admin/conf/templates/default/webmail/nginxWebmailPartial.php". I was able to change this file and reset the reference from "webmail" to "mywebmail". This works (after reboot), but the issue is that it affects EVERY domain on the server and I only want to make this change for a single domain. How can I go about this and change only a single domain instead of all?
 
Last edited:
Are you able to change the URL for their OWA?

If so, you could then setup this as an additional webmail platform in Plesk and assign it to their domain. You'll want to to disable the "Ability to change mail settings" for each subscription though so other users don't see it.

Definitely a hack-worthy suggestion.
 
Back
Top