| Linode Forum https://forum.linode.com/ |
|
| Sending local email to Google Apps https://forum.linode.com/viewtopic.php?f=11&t=4022 |
Page 1 of 1 |
| Author: | Driscoll [ Tue Mar 24, 2009 3:41 pm ] |
| Post subject: | Sending local email to Google Apps |
Hey there, quick question. 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. |
|
| Author: | Lykaon [ Tue Mar 24, 2009 8:23 pm ] |
| Post subject: | |
Indeed! I got it working on my server using the following guide: 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. |
|
| Author: | jsr [ Tue Mar 24, 2009 11:58 pm ] |
| Post subject: | |
The easiest way would be to just add an entry to exim's hubbed_host file. This will cause exim to forward any email for that domain to a different server. For example: domain.com: ASPMX.L.GOOGLE.COM |
|
| Author: | Driscoll [ Fri Mar 27, 2009 4:56 pm ] |
| Post subject: | |
Thanks jsr, that worked. For anyone having the same trouble, you don't want this file: /etc/exim4/conf.d/router/150_exim4-config_hubbed_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! |
|
| Author: | José Sánchez de la Peña [ Wed Dec 21, 2011 12:27 pm ] |
| Post subject: | Thanks! |
Almost 2 weeks struggling with this issue and finally a solution! (exim4 on Ubuntu 10.04 LTS) |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|