Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Mar 24, 2009 3:41 pm 
Offline
Senior Newbie

Joined: Fri Jan 09, 2009 1:33 pm
Posts: 10
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.


Top
   
 Post subject:
PostPosted: Tue Mar 24, 2009 8:23 pm 
Offline
Junior Member
User avatar

Joined: Mon Mar 02, 2009 10:45 pm
Posts: 38
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.


Top
   
 Post subject:
PostPosted: Tue Mar 24, 2009 11:58 pm 
Offline
Junior Member

Joined: Tue Dec 09, 2008 2:33 pm
Posts: 49
Website: http://www.ragtop.org
Location: Gilbert, AZ
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


Top
   
 Post subject:
PostPosted: Fri Mar 27, 2009 4:56 pm 
Offline
Senior Newbie

Joined: Fri Jan 09, 2009 1:33 pm
Posts: 10
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!


Top
   
 Post subject: Thanks!
PostPosted: Wed Dec 21, 2011 12:27 pm 
Offline

Joined: Wed Oct 19, 2011 1:37 pm
Posts: 1
Website: http://www.pleni.net
Location: Monterrey, MX
Almost 2 weeks struggling with this issue and finally a solution!

(exim4 on Ubuntu 10.04 LTS)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group