Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th January 2012, 22:45
ichpen ichpen is offline
Junior Member
 
Join Date: Dec 2011
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default setting up email routing to gmail/google apps via ispconfig

Hi all,

I have a pretty clean ispconfig 3 installation running on ubuntu 11.10.

Have a bit of a problem though. Basically, I've setup a google apps email account to handle all of my domain email. All mx records have been pointed correctly and it works well.

I run a cart on this domain. The problem comes with emails/contact forms within the cart. I try to steer clear of SMTP settings in forms because invariably most cannot be made to work with google apps easily and some only use php Mail.

Problem is when a user submits a form, phpmail does not seem to do an mx lookup, instead it seems to try to find the mailbox locally. If I setup a standard postfix mailbox I get all the emails. If I remove the mailbox, emails submitted through forms are lost.

Is there any way I can setup an smtp transport/relay on the server side to forward say all domain email to google apps/gmail say via email routing (haven't looked into how that works) whilst still preserving/utilizing native postfix mail functionality.
Reply With Quote
Sponsored Links
  #2  
Old 24th January 2012, 23:01
ichpen ichpen is offline
Junior Member
 
Join Date: Dec 2011
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default

OK, just answered this for myself. Tried a straightforward relay to google's mail servers and seems to work
Reply With Quote
  #3  
Old 24th January 2012, 23:25
ichpen ichpen is offline
Junior Member
 
Join Date: Dec 2011
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

More of an update to myself

I'm not quite sure how the advanced email routing functionality works. I added one google mail server and it delivers instantaneously (from a php mail form). When I added all other 5 servers as per google apps instructions, email took a really long time to relay (10 mins or so), so it seems the relays don't quite work the same as domain mx records (I had set different values under sort). Still curious as to how it hangs together and if I'm able to add additional smtp google mail server relays (for backup purposes).
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
All files gone after changing quota to 0 spynode General 17 19th January 2012 14:41
Ubuntu 11.10, ISPConfig 3.0.4.1 needs some nginx.conf tweaks after following guide. talkingnews Installation/Configuration 10 28th November 2011 21:55
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
ISP-Ubuntu breezy ispconfig dns email e-mail working finally yellowjelly HOWTO-Related Questions 0 19th November 2005 20:30


All times are GMT +2. The time now is 00:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.