Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: General Email guidance.
PostPosted: Fri Jan 13, 2012 12:54 pm 
Offline
Senior Newbie

Joined: Mon Jan 02, 2012 3:18 pm
Posts: 11
Hi all... before I ask for any assistance, please understand that I'm a n00b on these forums.

I'm looking for basic guidance with regards to enabling and setting up a simple mail server to send and receive emails.

But on top of that, I am considering the use of a 3rd party service, via the good folks from postmarkapp.com - for a simple registration form that I've put together. With that in mind... I would appreciate it if you guys could recommend an email system. Currently I'm considering Google apps for simple email communication... and Postmarkapp.com for BULK emails.

http://library.linode.com/email/google-mail
http://postmarkapp.com/

Please note that I'm running the latest Ubuntu LTS.

I also understand that using Google apps and other reputable 3rd parties for mail routing should prevent mailserver black listing.
Do you agree?

Thanks.

_________________
We all start somewhere...


Top
   
 Post subject:
PostPosted: Fri Jan 13, 2012 1:21 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
First Rule of Thumb: Avoid running your own mail server.

Incoming mail is directed by the MX records of your domain. The easiest and most popular option is to sign up for Google Apps and point your MX records at Google.

Outgoing mail can be sent by anyone whatsoever, provided that the sender is permitted by the SPF record of your domain. This means that you can mix and match various sending solutions:
- Google Apps for manual sending (like replying to someone)
- Postmark, Amazon SES, or other service for automated sending
- Install an MTA on your Linode, make it send-only (there are stack scripts for that), and just use the mail() function in your web apps

Services like Postmark and Mailchimp are good for managing bounces and other complicated scenarios. If you don't need to monitor those things, Amazon SES or a send-only MTA on your Linode is more cost-effective. Using a send-only MTA requires a correct hostname and reverse DNS entry, but other than that it's pretty simple.


Top
   
 Post subject:
PostPosted: Fri Jan 13, 2012 1:47 pm 
Offline
Senior Newbie

Joined: Mon Jan 02, 2012 3:18 pm
Posts: 11
Thanks for the informative response.

Just out of curiosity - what type of solution have you deployed on your system?

_________________
We all start somewhere...


Top
   
 Post subject:
PostPosted: Fri Jan 13, 2012 2:57 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
If it helps, I run my own mail server, using this guide:

http://library.linode.com/email/postfix ... 0.04-lucid

with a minor deviation - I use postfixadmin to set up email aliases/domains/mailboxes.

I agree with hybinet, though. Google Apps + send-only postfix (or what have you) on your Linode will take you a long way.

I just happen to *like* beating my head against a wall. :)


Top
   
PostPosted: Fri Jan 13, 2012 5:21 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
xer0 wrote:
and Postmarkapp.com for BULK emails.


Bulk emails? You mean spam?

If you don't know how to spam that's good, the Internet doesn't need more of that stuff.


Top
   
 Post subject:
PostPosted: Fri Jan 13, 2012 6:07 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
It's probably not spam if Postmark is being used in the present tense.


Top
   
PostPosted: Sat Jan 14, 2012 6:41 am 
Offline
Senior Newbie

Joined: Mon Jan 02, 2012 3:18 pm
Posts: 11
sednet wrote:
xer0 wrote:
and Postmarkapp.com for BULK emails.


Bulk emails? You mean spam?

If you don't know how to spam that's good, the Internet doesn't need more of that stuff.


That's what obviously comes to your mind when you see the word BULK.
But did you consider that I just want an automated way of responding to a customer registration.

Hmm... Don't be jumping to conclusions.

_________________
We all start somewhere...


Top
   
 Post subject:
PostPosted: Sat Jan 14, 2012 8:20 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
For automatic responses to customer registration I'd go for amazon s3, they recently released a smtp interface which makes integration a breeze, this is what I use to sends over 20k newsletters every week

http://docs.amazonwebservices.com/ses/l ... stfix.html

_________________
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: Sat Jan 14, 2012 12:21 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
obs wrote:
For automatic responses to customer registration I'd go for amazon s3, they recently released a smtp interface which makes integration a breeze, this is what I use to sends over 20k newsletters every week

http://docs.amazonwebservices.com/ses/l ... stfix.html


<nitpick>S3 is the storage (simple storage service). you mean AWS (amazon web services)</nitpick>


Top
   
 Post subject:
PostPosted: Sat Jan 14, 2012 12:50 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
glg wrote:
obs wrote:
For automatic responses to customer registration I'd go for amazon s3, they recently released a smtp interface which makes integration a breeze, this is what I use to sends over 20k newsletters every week

http://docs.amazonwebservices.com/ses/l ... stfix.html


<nitpick>S3 is the storage (simple storage service). you mean AWS (amazon web services)</nitpick>


Actually I meant SES...brain hadn't warmed up when I wrote that.

_________________
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: Sat Jan 14, 2012 2:27 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
hybinet wrote:
First Rule of Thumb: Avoid running your own mail server.


That is if he wants a simple solution which is in fact what he stated so that fits.

Otherwise, giving control of your email to another company is maybe not the best idea in many situations.


Top
   
 Post subject:
PostPosted: Sun Jan 15, 2012 2:37 pm 
Offline
Senior Newbie

Joined: Mon Jan 02, 2012 3:18 pm
Posts: 11
Hey guys,

I just wanted to THANK YOU all for your help.

In the end, I've gone for google apps for my basic email requirements (send + receive).

I need to verify whether automated response emails will work for new users. Can anyone confirm OR do I still need to use a 3rd party like Amazon or Postmark app?

_________________
We all start somewhere...


Top
   
 Post subject:
PostPosted: Sun Jan 15, 2012 6:02 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
jebblue wrote:
Otherwise, giving control of your email to another company is maybe not the best idea in many situations.

That depends on who the company is. Some people don't trust Google or Microsoft. But there are other options too, like Fastmail and Tuffmail, if you're willing to pay. There's probably an option for anyone except the most paranoid people.

xer0 wrote:
I need to verify whether automated response emails will work for new users. Can anyone confirm OR do I still need to use a 3rd party like Amazon or Postmark app?

Amazon SES is really easy, because they support plain old SMTP. You just need to make sure that Amazon is in your SPF record and your web app is able to make use of an external SMTP server. If you're writing your own app, most e-mail sending libraries such as PHPMailer and SwiftMailer support external SMTP servers.

You can also set up send-only Postfix. It is extremely rare for e-mails sent from a properly configured send-only Postfix instance to be rejected by major e-mail services. In this case, you will be responsible for using a fully qualified domain name as your mail server hostname, ensuring that this fqdn has a DNS entry that actually points to your Linode, etc. But once you've set it up, it's mostly maintenance-free.


Top
   
 Post subject:
PostPosted: Sun Jan 15, 2012 8:07 pm 
Offline
Senior Newbie

Joined: Mon Jan 02, 2012 3:18 pm
Posts: 11
So I should be able to mix and match Google Apps with Amazon SES?

_________________
We all start somewhere...


Top
   
 Post subject:
PostPosted: Sun Jan 15, 2012 9:50 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
xer0 wrote:
So I should be able to mix and match Google Apps with Amazon SES?

Yes, absolutely. Google Apps for incoming mail and any outgoing mail that you personally want to send. Amazon SES for automated outgoing mail. This works because sending and receiving are completely independent processes.

For this to work properly, Google needs to be in your MX records. (MX records determine where your incoming mail goes.) Both Google and Amazon, as well as any other server that sends mail for your site, need to be in your SPF record. (The SPF record tells other people which servers are permitted to send mail on behalf of your domain.)


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


Who is online

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