[multi server setup] Roundcube on webserver or mail server ?

Discussion in 'Installation/Configuration' started by ledufakademy, Sep 5, 2020.

  1. ledufakademy

    ledufakademy Member HowtoForge Supporter

    Where must i install this app (i 'm trying to configure mail3 server)?
    - on web3
    - on mail3

    i have installed on mailserver ... but this install Apache too !!!!!!!!!!!
    so forced to run php -q update.sh ... then actived web server
    then got a beautifull :

    Sep 05 09:32:12 mail3 apachectl[2869]: AH00526: Syntax error on line 60 of /etc/apache2/sites-enabled/000-apps.vhost:
    Sep 05 09:32:12 mail3 apachectl[2869]: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
    Sep 05 09:32:12 mail3 apachectl[2869]: Action 'start' failed.
    Edit : i don't know what ISPconfig is doing on mailserver ... with Apache , Rewriting stuff, changing listening port from nothing to 8081 (few second later) , break rspamd listening on 11334... this IS NOT very clear for me.

    Our setup web1-3, mail1-3, db1-3,ns1-2 ... multiserver !

    Note : Multi server setup is very painfull ;-), no doubt.
    Last edited: Sep 5, 2020
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you install packages that require a web server, then a web server will be installed.

    Makes no sense on a plain mail server to do that.

    The error message should be fairly self-explaining to any admin, you are using RewriteEngine in apache config without having rewrite module in apache installed or enabled.

    Not really for an experienced Linux admin, the questions you ask are all really basic admin stuff. And if you don't know how to handle a setup consisting of multiple servers, you should better start with a simple single server setup and learn more about Linux before start to setup complex systems.

    We try to help you here with your Linux questions, but a support forum is not a replacement for admin experience when it comes to setup a large ISP grade setup. Maybe you have a colleague in your company that can help and assist you with the setup?
    ahrasis likes this.
  3. ledufakademy

    ledufakademy Member HowtoForge Supporter

    thank you for your answer ...
    but :
    Where must i install this app (i 'm trying to configure mail3 server)?
    - on web3
    - on mail3

    Note : we are not a company ...just a little linux user group (lug),
    our team ? ... one person : in order to propose GAFAM alternative ...
    Last edited: Sep 5, 2020
  4. ledufakademy

    ledufakademy Member HowtoForge Supporter

    Let me say that i FOLLOW EXACTLY the manual PDF, following exactly "Multi server setup" part , and merging it with perfect server nginx debian 10.
    But if ISPConfig is not REALLY done for multiserver setup : it's simple to say it.
    A lot of answer are made for single server setup (all in one way)
    All the services on one server , like home setup, i'm right with that , but it's must be clearly said.
    This is not an ISP setting. We do not host all ours services on one VM , this is not the way to do, and this is not the way is done for AWS, GOOGLe, OVH ... etc ...

    Let me say that i choose ISPConfig for his ability to multi-server ...

    And i thing that it's good too listen "end-users" criticism ...

    Note : i'm skill on Linux. Not on ISPconfig which is different from normal server setup (mail or web etc ...)
    Last edited: Sep 5, 2020
  5. ledufakademy

    ledufakademy Member HowtoForge Supporter

    On question the guide for RoundCube is forcing to install Apache on the target server : what happened if this is one web servers, breaking nginx setup ?
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    That's totally up to you. As a skilled Linux admin, you should know what a webmail client is, that it requires a web server to be installed and that you can choose any mail system in the config file of the webmail client to connect to. So it does not matter where you install it.

    Then your setup makes even less sense and you should just have chosen a simple single server setup. Single server setups are perfectly fine up to a few hundred websites and a few thousand mail accounts, just depends on the hardware you use. And for ease of backup, install a virtualization system first, then create one VM, and then do an ispconfig single server setup inside that one VM. That way, you can do snapshots easily and backup these snapshots without interrupting the system.

    You are not forced to install a webmail client on any server in regard to ISPConfig. And it does not matter if you use apache or nginx, if you take a look at the perfect server guides, then you can see that you can install Roundcube on an Nginx server and also on an apache server. Of course, when you have an nginx server, it makes no sense to install apache, especially as apache is not a requirement for nginx.
    ahrasis likes this.
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe one more note, when you are long enough in business, then you will learn that the uptime of a simple system is often much higher than the uptime of a complex system, especially if you are not familiar with the setup. I've seen many admins that developed highly sophisticated setups and in the end, the added complexity completely ruined their uptime and admins with a simple single server had no downtime at all in many years. What always matters though is a good backup strategy and the ability to restore the backup fast and easily, and the best way to do that today in my opinion is to use virtualization, even if you have just one VM on one hardware system.
    ahrasis and ledufakademy like this.
  8. ledufakademy

    ledufakademy Member HowtoForge Supporter

    Thank you for your answer Till.
    ok , i will clean my mail (test) server, then installed RoundCube AND rainloop on ours dedicated web servers (web1-3)

    I use multi server setup because we planned to have 4 offers , with different level of quality of services, space etc etc.
    and one thing i really hate (grhhhhhh) : is to install ALL services on ONE server.
    Perhaps i am wrong with that point of view , perhaps i'm right ..but that's it ...
  9. ledufakademy

    ledufakademy Member HowtoForge Supporter

    this is real , you're right.
    But i think there is a space between this two point of view ;-)
    I m used to have reverse proxy , mail gateway (for filtering BEFORE mail server) ... : this is for security reasons. With my actual setup, that ISPconfig wiil replace ;-), one years without downtime.
    With ispconfig i do not do that , with your advice.
    Important : and i please you for taking time to answser newbies in ISPConfig ... !
    Last edited: Sep 5, 2020
  10. electron79

    electron79 Member

    Hello, if I have the mail server pass-through installed, and I want to install Round Cube?

    Should I install the missing packages for Round Cube and Apache, after that, run the ispconfig script "update.php"?

    Note: there are 5 servers: 1 web (master), 1 Database, 2 DNS and 1 Mail.

    Thank you ...
  11. electron79

    electron79 Member

    One more thing, all the servers are behind a Router, in other words they have local IP addresses not routable to the Internet, to offer service, is it only to redirect the corresponding ports of each server to the public IP?

    The ssl certificates will not be affected in the case of the Web and Mail servers.

  12. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Please open a new thread. Eventually refer to related other threads.
    ahrasis likes this.
  13. electron79

    electron79 Member

    Ok, Th0m ...

Share This Page