Related to another post on postfix errors, I am trying to determine if the following config is possible.
I have a domain, example.com, that currently uses google apps to handle mail for the small dev team working on the site. The DNS entries for the mail are as follows:
Code:
ASPMX.L.GOOGLE.COM 10
ALT1.ASPMX.L.GOOGLE.COM 20
ALT2.ASPMX.L.GOOGLE.COM 20
ASPMX2.GOOGLEMAIL.COM 30
ASPMX3.GOOGLEMAIL.COM 30
ASPMX4.GOOGLEMAIL.COM 30
ASPMX5.GOOGLEMAIL.COM 30
Now, we have a business requirement to allow users to have a temporary email account (
xyzuser@example.com) that, via postfix, will forward mail sent to
xyzuser@example.com to their own email account. The forwards need to be set-up via PHP, which is why we are thinking of using a locally installed postfix server and command-line php.
So, basic question: is it even possible to have some mail handled by one server (google), and some by another (local)? The quick answer is yes, but I would imagine not with the same domain name, correct? ie I could setup an mx record to send all @example.com email to google, and an mx record to send all @mail.example.com traffic to linode...
A mail neophyte just trying to get my head around this configuration...
Thanks for any help/pointers/criticism.
Paul