Please excuse the horrible title. I've been banging my head against this issue all afternoon, only to realize that I was on a wild goose chase.
In short:
- Set up Google Apps to handle incoming emails for my domain (
foobar.org
) - Set up exim4 on my Linode to send outgoing emails for my web app
- Tested by sending emails to my private email (
julian@otherdomain.net
), and to work email (julian@foobar.org
).
After 3 hours, I still could not figure out why emails were being received at otherdomain.net
, but not at foobar.org
.
So I gave up. Ctrl+D out of the super-user account, and saw: You have new mail in /var/mail/julian
facepalm
So, any outgoing emails sent to foobar.org
get delivered to the local user account. Makes sense. How do I tell exim4
to send the email out to the interwebs, so when it comes back to my DNS, it'll be routed to Google's servers?