Google Apps + Media Temple hosted DV (3.5) = broken emailing from web forms? PDF Print E-mail
Written by Joel Parent   
Wednesday, 11 March 2009 19:09

I ran into this problem myself, so began an evening of troubleshooting (you need root access to your DV – which you can activate through your accountcenter at Mediatemple to do this stuff).  Had to dig around to see what the hell what might be happening.  I have many domains on my DV – and ever since I started using Google Apps for my email I was never able to get the webforms on my sites to submit form-originated emails to my google apps email accounts.  FRUSTRATING!

The message I was getting back was: This message is looping: it already has my Delivered-To line. (#5.4.6)

I thought, hey, this doesn’t make sense – nothing was getting delivered, but it was claiming it was already done?  Maybe Google Apps email has some crazy Spam filter that is preventing me from sending emails from my web forms now?

So this lead me to look into qmail – since it is the mail transfer agent (MTA) cited in the errors I’ve been getting.  Wow.  I learned a lot more about MTA’s then I ever wanted to.  I thought maybe qmail was somehow mistakenly thinking it should deliver stuff locally when it shouldn’t be (because google is handling my email – but this theory went nowhere).  I then looked into the rcpthosts file and this also did nothing when I knocked out or changed the Google Apps domains. 

SOLUTION: The remedy was to edit the virtualdomains file in the var/qmail/control folder – changing/removing the virtual domains in that list that are associated to Google Apps accounts all of a sudden remedied everything.  (Mediatemple uses the vi text editor which can be a bit exciting to use if you’ve never used it before – some good instructions can be found here).  All of sudden my webforms could send their contents to my Google Apps email accounts again!

Give it a try – maybe it will save your bacon too.  Once you make edits to this virtualdomains file you have to restart qmail – this is done by typing “r” in the root access window.  Maybe it will help you too.

Trackback(0)
Comments (2)add
...
written by Octavio Corral , April 16, 2009
I am also having this issue, I will try what Jesse said, if that doesn't work I will try out your version
report abuse
vote down
vote up
Votes: +0
...
written by Jesse Mortenson , April 09, 2009
In my experience, turning off mail server for the domain that uses Google Apps (PLESK -> Domain -> Mail -> Turn off) solved this problem without needing to go into the qmail code/settings.
report abuse
vote down
vote up
Votes: +1
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy