Mail only server

Hey All,
I tried searching the forum for something similar to what I’m trying to do and I wasn’t able to find anything, so forgive me if this has been asked before.

We have a Virtualmin 3.77 GPL hosting server (host1) setup and I’m looking at having mail hosted on a separate server (mail1). The way I was going to do this was to just create another stand alone Virtualmin server and then after our billing system makes the call to host1 to create the site, it would then make an API call to mail1 and create the domain there with mail only. I was just wondering if there was anyway to actually hook the two servers together in such a way that when the site is created on host1, then host1 will know to create mail on the mail1 server? I guess it doesn’t really matter either way, but if there is some built in functionality in Virtualmin (either GPL or Pro) that will allow this, I’d rather go that route

Any help would be greatly appreciated and please let me know if you need more information about my particular case. Thanks!


Hi Brad,

Unfortunately, I don’t know of any built-in way in the GUI to accomplish that.

You mentioned the API – using that is probably the way to go. You could create some sort of script that calls the API functions on the other server, and creates your desired email setup.

If you haven’t already seen this, you can see the details of the remote api and command line api here: