Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Google apps email
PostPosted: Mon Apr 17, 2017 4:50 pm 
Offline
Senior Member
User avatar

Joined: Fri Jan 02, 2009 10:31 am
Posts: 163
Website: http://faroutscience.com
Location: Kansas / Texas
I have a linode set up with Centos 7.

I have had problems with mail servers in the past. I elected to set up email with Google Apps. I used the guide in your resource section and set up the MX records on the linode DNS system.

I am receiving email to my new business gmail name: myname@mydomain.com but it is not sending email even through the google system. I only need to send email as a setup for things like discussion forums, not receive, just send for verification.

What do I need to set up on my linode?

Mail servers are frustrating.
Thank you,
v/r
Jeff

_________________
http://greersfos.com


Top
   
 Post subject: Re: Google apps email
PostPosted: Fri Apr 21, 2017 12:57 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 1:41 pm
Posts: 946
It's not entirely clear to me what you are trying to do. Would you like your Linode to be able to send mail, but not receive it? In that case, you can install a mail transfer agent (MTA) such as Postfix and configure it (main.cf) so that it only sends mail:
Code:
inet_interfaces = loopback-only
myorigin = $mydomain
mydestination =
If you want your Linode to funnel all outgoing mail through Google Apps, that's slightly different.


Top
   
 Post subject: Re: Google apps email
PostPosted: Sat Apr 22, 2017 9:22 am 
Offline
Senior Member
User avatar

Joined: Fri Jan 02, 2009 10:31 am
Posts: 163
Website: http://faroutscience.com
Location: Kansas / Texas
Hi Vance,

Thank you for your reply.

I would only like to send mail from my domain, and only mail that originates at my domain, specifically from a discussion forum. I had mail set up without problems for years. However, I my server was hacked last year and was used to send out spam by the ton until I took it off line. I don't want that to ever happen again.

I will give your suggestion a try and see if I am able to secure the source of the outgoing email.

v/r
Jeff

_________________
http://greersfos.com


Top
   
 Post subject: Re: Google apps email
PostPosted: Sat Apr 22, 2017 7:55 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 1:41 pm
Posts: 946
Ah, OK. I think the configuration I described will do what you want.

Note that any mail which originates locally will be sent, such as from web forms. So it is important to make sure those can't be used to spam people. There are a variety of ways to prevent that, such as restricting the destination e-mail address, adding a CAPTCHA, and rate-limiting form submission. Many well-written web applications already build in some protection; if your forum is one of the popular ones it probably is OK.

Of course, if someone gets shell access to the machine all bets are off. The basic security guidelines in the Linode docs are pretty good.

Good luck!


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


Who is online

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

Powered by phpBB® Forum Software © phpBB Group