We are in the process of switching our email from a locally hosted server to Google apps. We have a lot of users and I'd like to be able to switch them over one at a time so I don't get inundated with tech support calls.
On a separate server I installed postfix and added this line to main.cf:
relayhost = [1.2.3.4]
(Where 1.2.3.4 is our internal mail server).
This works fine, all mail sent through postfix get sent to the internal mail server like it should.
However, I also want the same mail to be sent to Google apps. I added this line to main.cf:
relayhost = [aspmx.l.google.com]
But instead of sending to both servers, Postfix only sends to the last one listed.
Is there a simple solution to this? I don't mind using a different SMTP program or whatever, but I don't want to have to create mappings for each and every user we have.