Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Configure Postfix to send/relay emails Gmail ( via port 587

I have multiple drupal websites running on an Ubuntu slicehost vps. Naturally, that means that I have a fair number of domains pointing to my one slice. For some of those domains, we use the non-profit version of google apps for email.

I Followed Google's instructions for configuring DNS, so sending and receiving email from within our google apps accounts works just fine. The problem comes when we try to send email from our drupal sites. Generally, email simply doesn't get through. I think that I have trained my personal gmail inbox (which is NOT using google apps) to accept email coming from the vps, but no one else ever gets any of the emails.

What can I do to fix the problem?

share|improve this question

marked as duplicate by Michael Hampton, EEAA, Ladadadada, mdpc, Brent Pabst Oct 26 '12 at 18:55

This question was marked as an exact duplicate of an existing question.

You need to research the sending limits that Google Apps impose in order to prevent SPAM. It's not very high on a daily -- only 2,000 emails can be sent. – Richard West Feb 9 '12 at 15:27
I recommend you look at a service such as for providing your SMTP services. – Richard West Feb 9 '12 at 15:28

You need to do research about email reputation. Things like SPF records. Check out Your smtp server ip / sending domain could be on a blacklist. Check those as well

share|improve this answer

The blacklist problems do not apply with Google Apps. All mail is sent through their servers. You need to add googlemail as an allowed sender for your domain with spf records.

SPF Records: 14400 in TXT "v=spf1 ~all" 14400 in TXT "v=spf1 a mx include:aspmx.googlemail

If your domains aren't configured to use ip addresses replace the second record with your FQDN

I don't have mail servers installed on my box that hosts WordPress sites and we use a plugin that forces all mail sent from WordPress through smtp (Google Apps). There is probably something similar available for Drupal.

share|improve this answer

Check out this page:

It includes 2 module suggestions for sending mail via SMTP instead of the local server's sendmail or postfix. That removes the need for figuring out all of the email reputation stuff, I think.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.