I have a server that has been running Virtualmin for some time. It currently has 72 email users on it across a dozen or so domains.
To accomodate growth and, as all of the email users are in the same company, I’m moving the email to Google Apps.
To achieve this I need the server to continue to use Postfix to send mail for the domains (the ecommerce sites send email all the time) but I need it to stop receiving any local email.
I’ve tried reconfiguring myself and google to no avail.
On my last attempt where I tried to create a null server using the postfix documentation, it almost worked but when the stores send emails that go to what were previously local recipients, these bounce e.g:
Apr 16 10:55:03 ws1 postfix/error: 2B737BC696: firstname.lastname@example.org, email@example.com, relay=none, delay=0.18, delays=0.1/0.05/0/0.03, dsn=5.0.0, status=bounced (local delivery is disabled# See /usr/share/postfix/main.cf.dist for a commented, more complete version)
Perhaps the mapping of firstname.lastname@example.org to email@example.com is the source of this problem.
In short I need to tell Postfix to send all of the mail to the default mail handling for the domains (which is all working fine) rather than intercepting it for local delivery. However I need it to continue sending the emails for all the stores exactly has it has been doing.
Any help much appreciated.