How do I change ispconfig webmail port?

Discussion in 'Installation/Configuration' started by conductive, Oct 28, 2014.

  1. conductive

    conductive Member

    I am running ispconfig3 on wheezy with nginx.

    Durring the installation of Ispconfig3 I used a different port number (80??). Since I did not use 8080 I am not able to read ispconfig webmail from the control panel and get the following Nginx error.

    HTML:
    2014/10/27 17:04:08 [error] 4899#0: *423 open() "/usr/local/ispconfig/interface/web/webmail" failed (2: No such file or directory), client: xx.xx.xx.xx, server: _, request: "GET /webmail HTTP/1.1", host: "xxxxxxxxxxx:80??", referrer: "https://xxxxxxxxxx:80??/index.php"
    
    How do I change the ispconfig3 configuration to corect this problem?

    If I do not use 8080 will I have other issues too?

    Thanks
     
  2. srijan

    srijan New Member HowtoForge Supporter

    This port is reserved by Appache so, we prefer different ports.

    You can use any port except port 80.
     
  3. srijan

    srijan New Member HowtoForge Supporter

    The templates for the config files are in /usr/local/ispconfig/server/conf, make a copy of the nginx template file and save it in the conf-custom directory and do the changes in that file.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Webmail on nginx servers is always on port 8081, independantly of which port you used to install ispconfig. login to ispconfig, go to system > interface config and change the Webmail URL to be a full http url to webmail. e.g. http://yourdomain.tld:8081/webmail
     
  5. conductive

    conductive Member

    Thanks for the reply. I am not sure is I explained this properly.

    Webmail works fine.

    My problem is reading the webmail within the Ispconfig control panel.
    Email > Email MaiBox

    When I hit one of the "Envelope Icons" it does not open a webmail client it opens a new tab with.

    HTML:
    404 Not Found
    nginx/1.2.1
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    I posted the solution for that above.
     
  7. conductive

    conductive Member

    Thanks Till,

    Yes, that works perfect. I had some type of brain fart where I kept going to server config or system config sites where it did not look right and/or for some reason did not want to change where it said /webmail since webmail was working fine.

    All good

    Thanks
     

Share This Page