For some reason (maybe stupid, probably it's about money) I need to setup domain to have two mail servers:
- some mail addresses would be on Google
- some mail addresses would be managed by our server
I know there is no way how to do it by MX records but is there any chance to get it working without several problems? Like (lets get domain.com
):
- setup MX records of
domain.com
to google servers - in google administration, create mail accounts that should be managed by google
- create domain aliases for others like
ourserver@domain.com
->ourserver@f.domain.com
- setup MX records of
f.domain.com
to our server - configure
domain.com
as mail domain on our server - create user
ourserver@domain.com
- create domain alias on ourserver that will
f.domain.com
->domain.com
- lets that users to logging into system on ourserver and use our SMTP
Will this work? Has anybody better idea how to do it?
note: we are using postfix & dovecot combination on our server