Multiple ISPConfig servers Only for Mail services

Discussion in 'General' started by emaddaou, Jun 5, 2024.

  1. emaddaou

    emaddaou New Member

    Dear ISPConfig members,

    I have around 3TB dovecot mail server running as master-master, main server on one site and another dovecot mail server is located on different site;

    The dovecot was configured poorly and hosted on a single physical server which eventually running out of space;

    1) my aim is to slowly migrate one mail-box at a time to a New ISPConfig Multiple Server setup, dedicated only for mail Services; I believe we can have both mail servers running at the same time;

    2) Or, if you recommend Migrating everything one shot, that would be great, however, the following article below is scary if migration was not done using the right tool; https://doc.dovecot.org/admin_manual/migrating_mailboxes/ frankly, I don't like to rush and migrate everything one shot, I prefer to migrate one mail-box at a time and allow testing;

    3) Is it possible to use the automation script mentioned below to setup multiple ISPConfig servers only for mail services, if not, is there an article on howtoforge you recommend for Multiple setup but dedicated only for Mail services?

    4) FYI - PFA is being used to manage User accounts;

    So basically, what am looking for is only the following only, am not interested in Web hosting, Webmail, or DNS Management;

    Code:
    host       FQDN                   IP
    panel      panel.example.com      10.0.64.12
    mx1        mx1.example.com        10.0.64.14
    mx2        mx2.example.com        10.0.64.15
    

    I am aware of the following articles, but would like to know from you if you have other recommended options / best practices you would like to share;

    https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
    https://www.howtoforge.com/tutorial/ispconfig-multiserver-setup-debian-ubuntu/
    https://forum.howtoforge.com/threads/ispconfig-3-autoinstaller.86078/

    Your time, caring, and sharing is highly appreciated; thank you so much for reading my post;
     
  2. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    Are we talking about the expectation having one account ( [email protected] ) on one server and another ( [email protected] ) on another server?
    Doubt ISPConfig is made for this. However one could, maybe, use the mirror function and just tell clients to use server a or b but someone is going to mess up sooner or later ( client ).
    But maybe I'm mistaken
     
  3. emaddaou

    emaddaou New Member

    @Christoph thank you for your time;

    Currently users use imap.example.com and smtp.example.com; I would say, if possible, to have the users who are willing to take a test drive, migrate to the new Mail server and start using sub-domains imaps.example.com and smtps.example.com instead which will be pointing to the New Mail server;

    Any thoughts of how to build a Multiple ISPConfig Servers setup, especially for Mail services will be highly appreciate it!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    yes. You can freely define which services a system shall have.

    You can basically follow this guide:

    https://www.howtoforge.com/tutorial/ispconfig-multiserver-setup-debian-ubuntu/

    which sets up a system consisting of two mirrored mail nodes. If your system shall be larger, then you must go a different route, which is having a high highly available storage system, e.g. 3+ servers running Ceph. Then have two or more mail nodes running ISPConfig mail system in mirror mode which all mount /var/vmail from the ceph storage cluster. And finally, you need either a load balancer in front of it. And dovecot likely needs to be configured using director in such a setup. Such a setup then should easily scale to ten thousands of mail accounts. I know a hosting company that used ISPConfig already more then 10 years ago for their mail system consisting of 5 mail nodes plus a central storage cluster which had more than 15k active accounts and the system was working perfectly fine.
     
    ahrasis and ztk.me like this.

Share This Page