How to redirect webmail of all domains to a specific webmail URL in Plesk for Linux




  • Avatar
    Ben Essere (Edited )

    I can't open the / usr / local / psa folder
    because it is a link to
    / Opt / psa
    where I find the webmail.php file
    adding lines, can I make them in this file?


    Comment actions Permalink
  • Avatar
    Nelson Leiva

    Hello Ben Essere,

    You should create the custom directory first:

    mkdir -p /usr/local/psa/admin/conf/templates/custom/webmail

    Then copy the original content and edit:

    cp /usr/local/psa/admin/conf/templates/default/webmail/webmail.php /usr/local/psa/admin/conf/templates/custom/webmail/webmail.php


    Comment actions Permalink
  • Avatar
    Sascha Henken (Edited )

    I was searching exactly for this but it seems not to work on my end. Also it seems not to be possible regardless of what you try. Instead you have to create your domain in plesk first and then install an own Webmail of your choice in the documentroot. Only then you have the opportunity to offer only one central entrypoint for your friends and/or customers by telling them, please go to this URL yadayada.....

    Negative side effect is that you have to maintain your custom webmail installation at your own risk to stay up to date and secure.

    The other scenario not to create the domain in Plesk but still apply the changes to the webmail.php file also does nothing at all. So whatever you do seems to be a dead end.

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request