Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 23, 2011 8:36 am 
Offline
Senior Newbie

Joined: Thu May 05, 2011 6:47 pm
Posts: 5
Website: http://www.mysavvydeals.co.uk
AOL: 54+saxon+road
Hi,

I have a main domain of www.mydomain.com I aslo have a subdomain of staging.mydomain.com.

I have setup Google Email on the base domain of mydomain.com and this is working fine receiving emails and sending emails via Google.

I am doing some dev work on the staging environment to send emails on a linux ubuntu servers using PHP and would want to use the already setup Google service from the base domain to send outgoing emails. Is this possible? or would I need to setup the google mail on the staging environment too..

We have referenced the email client setup information from Google to setup the details in the staging environment. http://mail.google.com/support/bin/answ ... swer=78799

However we still are not able to connect to the server.

Thanks
Simon


Top
   
 Post subject:
PostPosted: Sat Jul 23, 2011 8:52 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
If I understand you correctly your staging site you want the linux server to send the emails and for the live site you want to send via google apps.

If so then for the staging site install postfix/exim (check out http://library.linode.com/email) and PHP will send via that.

For the live site check out MSMTP (google it).

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2011 5:15 am 
Offline
Senior Newbie

Joined: Thu May 05, 2011 6:47 pm
Posts: 5
Website: http://www.mysavvydeals.co.uk
AOL: 54+saxon+road
Hi Obs,

Thanks for your reply, I want to send emails from the staging site via linux, however instead of installing a mail client to my staging site I want to use the Google Email currently setup on the live environment.

Iam hoping that I don't need to install a mail client in staging to then change the settings once we deploy to code live where we hope to still send emails via our PHP code.

Thanks..


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2011 5:30 am 
Offline
Linode Staff

Joined: Fri Feb 18, 2011 10:08 am
Posts: 42
Location: Galloway, NJ
You'll probably still have to set up a send-only MTA on your Linode. Exim is nice and easy -
http://library.linode.com/email/exim


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2011 6:21 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
How do you send via google on the live site? Can't you just use the same configuration on the test site?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


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


Who is online

Users browsing this forum: No registered users and 4 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