Host email on an alternative server..

Hi Guys

I run the default Virtualmin GPL installation on Ubuntu 12.04, emails for one of the domains I host will shortly be moved to an Exchange server, but the website will continue to run on the server. What I need to do is disable ALL local delivery for that domain, so even when the website generates an email, then postfix does not attempt to deliver it locally (but rather to the Exchange server).

Can anybody recommend a method to this? My first thought was just remove all trace of the domain from the Postfix settings of Webmin - but I thought this might screw up Virtualmins ability to manage the domain, advise is highly welcome :slight_smile:


It’s no problem to do that… the key is to go into Edit Virtual Server -> Enabled Features, and in there, disable the “Mail for Domain” feature.