These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Postfix on a remote server on the new forum.
Hello,
Is there a way to configure Virtualmin to use a postfix mail server on a remote system? I would like to unload this process to a different machine. As the number of web servers grows I don't want to keep setting up new mail servers. Plus, in my opinion, it will help with dealing with attempts to abuse the mail server.
This is possible for MySQL and I also found a howto for running MySQL on a remote server in the virtualmin legacy documents.
Also, do you seen any advantage or disadvantage to running a central mail server vs having a mail server set up to run on each web server?
Thanks.
Howdy,
I'd enjoy hearing how folks are handling this setup today.
There isn't an "official" way of doing this from within Virtualmin, though there's been some mumblings on offering more support on this sort of setup at some point in the future.
As you saw, it is possible to setup MySQL on a remote server -- that should work pretty well.
You can do the same with SpamAssassin and ClamAV as described in here:
http://www.virtualmin.com/documentation/id,spam_and_virus_scanning
It's even possible to do something similar with Postgrey.
So how much you setup a remote Postfix server? If you don't mind some manual setup, you may be able to use something like LDAP or MySQL. If all your users and email addresses are stored in LDAP/MySQL, you could have each web server talking to a central LDAP/MySQL server when adding/modifying/deleting users and email addresses. Then, just make sure that gets replicated to the email server.
I haven't tried that, so you'll need to do some testing, but in theory it sounds good :-)
You can read about using Virtualmin with LDAP here:
http://www.virtualmin.com/documentation/id,combining_virtualmin_and_ldap/
Let us know how that works for you!
-Eric
I think I might take the MySQL option, but it will have to be in the future. I wanted to hook a new web server into an existing mail server. But the later is not setup to use MySQL.
Thank you for your suggestions Eric.