Sending local email to Google Apps
My domain's MAIL record points to Google Apps, and it works fine. The problem is, emails I send from the server (from php) to myself never get to me (my email at that domain). I guess this is because exim4 doesn't know that the mail should be redirected to googleapps? Or something?
For now, I'm sending it to a different email, but i'd like to get it going to the right one, for organizational reasons. Any ideas?
Thanks in advance.
4 Replies
http://nanotux.com/blog/the-ultimate-server/4/#l-mail
That's assuming both Ubuntu and Lighttpd, but I'm sure it'll be pretty easy to adapt it to any distribution and set up.
For example:
domain.com: ASPMX.L.GOOGLE.COM
For anyone having the same trouble, you don't want this file:
/etc/exim4/conf.d/router/150exim4-confighubbed_hosts
I had to make this file:
/etc/exim4/hubbed_hosts
This is all with exim4 on Ubuntu 8.10.
And then it worked perfectly. Thanks!
(exim4 on Ubuntu 10.04 LTS)