Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: How to set up my emails
PostPosted: Sun Aug 19, 2012 2:50 pm 
Offline
Senior Member

Joined: Tue Aug 14, 2012 5:55 pm
Posts: 82
I am new in linux admin / vps but a quick learner and have a programming background.

The email server setup in documentation is really confusing me.

I want to set up my emails in a way where all phpmailing functions in scripts like wordpress / joomla, other famous php scripts, WORKS.

On the other hand, I want to set up user emails to be handled by google apps.

Can a respected experienced gentleman here can give me start ?

Thanks in advance.


Top
   
PostPosted: Sun Aug 19, 2012 3:12 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
sami1255 wrote:
Can a respected experienced gentleman here can give me start ?

Sigh - so close, yet so far away.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Sun Aug 19, 2012 3:17 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
What distro are you using?

Basically you need to install a send only email server (postfix works well) to send email from php.

For google apps simply set your domain's MX records to what google requires. You will also want to setup a spf record allowing your server to send emails as well as google apps, if you don't know how to set up a spf record then http://www.microsoft.com/mscorp/safety/ ... id/wizard/ works quite well.

_________________
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
   
PostPosted: Sun Aug 19, 2012 3:23 pm 
Offline
Senior Member

Joined: Tue Aug 14, 2012 5:55 pm
Posts: 82
Thanks for the reply. Its ubuntu 12.04 LTS.

How do we compare postfix with other MTAs Is it the best one out there or I have better options as well ?


obs wrote:
What distro are you using?

Basically you need to install a send only email server (postfix works well) to send email from php.

For google apps simply set your domain's MX records to what google requires. You will also want to setup a spf record allowing your server to send emails as well as google apps, if you don't know how to set up a spf record then http://www.microsoft.com/mscorp/safety/ ... id/wizard/ works quite well.


Top
   
PostPosted: Sun Aug 19, 2012 3:51 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
There's several options the most common ones around here are postfix or exim, I use postfix.

Running the following will install postfix for you
Code:
echo "postfix postfix/main_mailer_type select Internet Site" | debconf-set-selections
echo "postfix postfix/mailname string localhost" | debconf-set-selections
echo "postfix postfix/destinations string localhost.localdomain, localhost" | debconf-set-selections
aptitude -y install postfix
usr/sbin/postconf -e "inet_interfaces = loopback-only"
service postfix restart

_________________
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 3 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