Using other docroot for roundcube, squirrelmail and rainloop?

Discussion in 'Installation/Configuration' started by slagroom, Sep 21, 2023.

  1. slagroom

    slagroom Member

    Is it somehow interfering in ispconfig conventions not surviving updates when I use a webbased folder instead of /usr/share/roundcube/ ?
    I'm not so fluent in how roundcube does things. I assume its config is entirely under /etc, so that's where I have to change the location then?

    Next to roundcube I intend to still use squirrelmail as well (I have it running fine under php 7.4 using this version),
    I would actually like to use 3 separate vhosts, one for rainloop, one for squirrelmail and one for roundcube.
    Would you then recommend me to install roundcube manually, or keep using the /usr/share/roundcube/
    Should I use a custom /etc/nginx/sites-available/apps.vhost file for nginx, pointing to the other location(s), or create separate webmail.domain.tld's for each webmail option and comment out the apps.vhost squirrelmail section? I see apps.vhost points to /usr/share/squirrelmail, which in turn points to the /usr/share/roundcube dir.

    Any recommendations here? I would still prefer to let ispconfig be updated without losing the 3 webmail options..
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can install any of these apps in a dedicated website instead of using the system-wide apps from Debian and Ubuntu without breaking the system configuration.
     
  3. slagroom

    slagroom Member

    Just to be certain; If I manually add a somestrange.vhost file under /etc/nginx/sites-enabled/ will ispconfig updates or resync delete those?
    I was just testing this, and it seems ispconfig leaves files alone, if I manually add them in there. This offers options, but of course I will have to make sure ispconfig nginx config matches what I add, or does not interfere. Is this correct?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No. ISPConfig can not update a vhost that it has not created. But creating vhosts there manually for the apps you mentioned does not make much sense to me on an ISPConfig system as you can simply create a website in ISPConfig for e.g. webmail.yourdomain.com and then install a webmail client like RoundCube or Squirrelmail into that site and the same procedure works for PHPMyAdmin as well. That's at least the way I do it on my nginx systems for such apps.
     
    slagroom likes this.
  5. slagroom

    slagroom Member

    I will definitely try doing it that route. The thing is; I have existing (manual) nginx config from a server I'm migrating, so to speed things up I can already start with those webmail packages and then later on integrate them into ispconfig step by step.

    I must add that I really love ispconfig thus far. It offers way more options for admins like me than other panels do. Just the custom config options alone are a dream come true. I'll probably buy the manual, it looks like there's a lot of info in there I'm not aware of yet.
     
  6. slagroom

    slagroom Member

    If I install roundcube into such a site, which config.inc.php do I use for that? (do I copy the existing one from /etc/roundcube to the webroot, or the entire code from /usr/share/roundcube ?) As I'm installing a webmail with roundcube for ALL users on this ISPConfig system (with different aliasdomain names as webmail.aliasdomain.tld), so in essence it should mimic the roundcube that is already under port 8081.
    - I understood from a different forum post that I should create a separate roundcube mysql db for this purpose, so I will do that.
    - Is it still possible for users to change their (mail) password in this case? If so, do I copy over the plugin from the ISPConfig version of roundcube or what is the best route for that?

    Thanks in advance!
     
    Last edited: Jul 4, 2024
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Installing Roundcube is the same as installing any other CMS or show system. Typically, the steps are: you download its source, put it into the web folder, create a database user and database for it in ISPConfig, and then either follow an online wizard or create the config file and load a SQL dump into the database, depending on the CMS or software you install.

    No. The RoundCube tar.gz comes with a config file or config file sample, which you use.

    Correct

    if you install the ISPConfig RoundCube plugins there, then they will be able to change their passwords trough RoundCube.
     
    slagroom likes this.
  8. slagroom

    slagroom Member

    Still, installing it from source will not update security patches etc. when they are released. I also found a different procedure here (which is why I asked) as a package from debian:
    https://www.howtoforge.com/perfect-server-debian-12-buster-apache-bind-dovecot-ispconfig-3-2/
    which is probably how ispconfig installs it if you select roundcube to be included?
    Which are the latest versions of roundcube plugins? Is this https://www.howtoforge.com/install-ispconfig-3-roundcube-plugins-on-debian-10/ still valid?

    On another note; Do you know where roundcube's config location is set? It's quite messy in so far as its config.inc.php locations. I would assume /etc/roundcube to be logical for that, but when you use the github source, it's in the web docroot and no documentation on where to set this in roundcube's install.
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    slagroom likes this.

Share This Page