# \[OT\] Postfix + Google Apps?

**URL:** <https://www.ruby-forum.com/t/ot-postfix-google-apps/90941>\
**Category:** Deployment\
**Created:** [April 3, 2007, 6:16am UTC](https://www.ruby-forum.com/t/ot-postfix-google-apps/90941 "2007-04-03T06:16:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zack\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/eb9ed0/32.png) [@Zack\_C](https://www.ruby-forum.com/u/Zack_C)\
**Post date:** [April 3, 2007, 6:16am UTC](https://www.ruby-forum.com/t/ot-postfix-google-apps/90941/1 "2007-04-03T06:16:18Z")

</div>

Please ignore if too off topic.

I have a Rails app that sends and receives email via Postfix. I also  
have set up Google Apps ([http://www.google.com/a](http://www.google.com/a)) for my domain. By  
themselves each works.

I want to find a way to have Postfix accept all email for the domain  
except for a few accounts (removed\_email\_address@domain.invalid, removed\_email\_address@domain.invalid, etc.) and  
forward these to Google Apps mail servers… anyone know how to do  
this? Basically my MX records would direct email to IP running Rails  
app + Postfix. Then Postfix would slurp up the emails and forward the  
special ones on to Google Apps and send all others up the stack to  
Rails. This way I’d have the best of both worlds. Ideas?

Thanks,  
Zack
