Why would you want a separate mail-server on each existing site?
Are you aware you can setup one MIAB instance on one server and have this serve mail for all your existing sites / domain names?
From my experience, you are much better off setting up a new server strictly for mail-in-a-box and keep it as a mail-server only, then direct all ‘A’ records to your individual sites.
This is how I have mine setup after much trial-and-error and have learnt the hard way to keep mail-in-a-box alone as it’s own server. I use separate server for all my site hosting.
It’ll be a separate miab on each server and no new servers. Just interested in what the reasons behind the “fresh server” requirement are before I read through the whole script.
I don’t have a tutorial - all the info is well documented between the setup manual, the admin panel and this message board. Basically I just:
Followed the initial install tutorial on one server (I think I used the Digital Ocean tutorial in combination with the Setup guide here)
Pointed all domains at this server’s nameserver
Set up my second server with a LAMP stack
On first server, logged into admin panel and pointed the domain ‘A’ records at the second server - this is under ‘System -> Custom DNS’ - it’s as simple as selecting Type A and then entering the 2nd servers IP as Value
For setup of the second server, DigitalOcean has numerous great tutorials for setting up a LAMP stack and Apache Virtual Hosts.
OK. For me it’s one of those things were I take a leap of faith and just believe it. The whole MIAB install comes with many packages and I wouldn’t be confident all the dependencies would be intact and free from interference on an existing install.