Linode Forum
https://forum.linode.com/

How can I use Google Apps for users, but vps for apps?
https://forum.linode.com/viewtopic.php?f=11&t=6580
Page 1 of 1

Author:  jerrac [ Wed Jan 19, 2011 1:07 pm ]
Post subject:  How can I use Google Apps for users, but vps for apps?

I currently have Google Apps set up for my email needs. Unfortunately, it doesn't seem like my web apps can send emails. I had to manually configure Project Pier to send email via Google, and my Drupal installs don't seem to send mail at all.

So, how do I set my VPS to make apps send emails through it, and still let my Google Apps email work?

Thanks!

Oh, I'm running on Ubuntu 10.04. And I have postfix installed according to: http://library.linode.com/email/postfix ... 0.04-lucid Though it's been a while since I configured it and I might have missed something.

Author:  Talman [ Wed Jan 19, 2011 1:10 pm ]
Post subject: 

This is easy. Linode Library has a exim-based solution, you need a "send only" mail server.

You can also install postfix and set it to loopback-only, I believe. I use exim on my server, via ppardis.

Author:  jerrac [ Wed Jan 19, 2011 1:13 pm ]
Post subject: 

Talman wrote:
This is easy. Linode Library has a exim-based solution, you need a "send only" mail server.

You can also install postfix and set it to loopback-only, I believe. I use exim on my server, via ppardis.

As in this? http://library.linode.com/email/exim/se ... 0.04-lucid

Author:  brianmercer [ Wed Jan 19, 2011 10:48 pm ]
Post subject: 

Postfix should work fine, automatically with Drupal. And you definitely need to make sure you have a working MTA for all sorts of server admin tasks.

But you might also consider using the PHPMailer module for Drupal.http://drupal.org/project/phpmailer PHPMailer is a separate PHP library which will let Drupal connect securely to your gmail account and use gmail's servers to send your mail.

Advantages include saving copies of sent messages on Google's servers, use of both SPF and (since last week) DKIM for anti-spam so your emails don't get flagged as spam, and your emails look like they come from your domain and not the RDNS or hostname of the server.

Major disadvantage is that Google only allows 500 emails per day.

Author:  Vance [ Thu Jan 20, 2011 11:04 am ]
Post subject: 

You can also set up Postfix to send mail through Google (or another relay of your choosing) using client SASL. On Ubuntu, I think Postfix is already linked with the Cyrus library so it should just be a matter of setting up the configuration. Searching for gmail and postfix will get you several articles.

Author:  jerrac [ Mon Jan 31, 2011 12:10 am ]
Post subject:  Thanks

Thanks for the suggestions! This http://library.linode.com/email/exim/se ... 0.04-lucid worked great for me. I'll the keep the other ideas in mind for if they are needed in the future.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/