Mandrill is going to paid plans on MailChimp

(Ben Styles) #22

Hi, really sorry for the noob question but I imagine this will be asked a few times – I am ready to change over to SendGrid from Mandrill but I’m not sure how to do this. I can change everything in app.yml but what next? launcher restart? Or do I need to bootstrap again? And can I do that without losing data and without downtime?

Thanks very much in advance.

(Sebastian) #23

Torn between opting for Sparkpost, SendGrid or ElasticEmail. Any opinions or experience with these?

(Scott Pruett) #24

Right there with you @benstyles. A year or so ago I had @codinghorror set up my forum on DO via the $99 one-time install. I’m watching this thread for anyone who feels inclined to do a detailed step-by-step writeup of how to switch to a different email provider. :wink:

(Holden) #25

I’ve been very happy with sendgrid. I’ve used them on another site for about 4 years and have never had any problems.


I personally despise control panels. However much time you supposedly save is more than gobbled up whenever you attempt to do something that the panel doesn’t comply with. Control panels tend to mangle the standard folder locations, file permissions, and do things in weird ways that only the developers can attempt to make sense of.

Mail isn’t too overly complex when you have it send-only. That takes care of a lot of the security issues.

(Régis Hanol) #27

You’re almost right :wink:

  1. Change your mail settings in the app.yml file
  2. Rebuild your container with ./launcher rebuild app
  3. Profit :dollar:

You will not lose any data by doing a rebuild (since all the data are stored outside of the container), but you will have a downtime for the duration of the rebuild. No-downtime rebuild requires having at least 2 web containers so that you can restart them 1 by 1.

(Ben Styles) #28

Excellent, very clear, thanks very much!

(AstonJ) #29

It depends on which control panel you use I guess. Webmin is a very thin layer and in my experience it (and its brother Virtualmin) have been nothing but a joy to use. You can contrast that with cPanel and many of the other control panels though, which I would agree tend to mess things up.

I can’t ever imagine not want to receive mail for a site - so I would always want to be able to send/receive.


A proper send/receive adds significant memory footprint, which of course a powerful control panel adds even more. The point of my script was to be very easy, secure, and have the smallest memory footprint for discourse mail requirements. I understand wanting to receive mail on your own server, but that’s what mail-in-a-box is for :wink: (which requires a 512MB vps all to itself with a script hack, else 1GB.

(AstonJ) #31

I think the memory footprint of webmin is something like 20MB. Postfix and dovecot pretty are small too - unless you use anti-spam or anti-virus tools. It’s the other things like Apache, BIND, MySQL etc that can be hogs.

But yeah, I was only suggesting this for a dedicated server - I’ve never used a ‘cloud instance’ so can’t comment on them.

I’ve never used mail-in-a-box either :stuck_out_tongue: (dovecot and postfix, and in the past, exim - which I don’t like lol).


Allow me to clarify. The webmin process itself is fairly small, however all the components that come pre-packaged will add significant memory use.

If you need to run Virtualmin on a very small-memory system, the best thing you can do is off-load email to some other system or service, since the full mail processing stack with SpamAssassin, ClamAV, Postfix, and Dovecot can easily add up to a few hundred MB.
Virtualmin Memory Usage (and Other Tales of Wonder and Woe!) – In the box

(AstonJ) #33

That’s pretty much what I said, SpamAssassin & ClamAV are the hogs not Dovecot or Postfix - I never use SpamAssassin.

Only relevant if on a small VPS or Cloud instance, certainly not a problem for a modern dedicated server :slight_smile:


Agreed, if you got the resources set it up in full.


(Dean Taylor) #35

For those hosting on EC2 instances on Amazon Web Services, you’ll probably know this - however…

Free Tier

If you are an Amazon EC2 user, you can start sending with Amazon SES for free. You can send 62,000 messages per month to any recipient when you call Amazon SES from an Amazon EC2 instance directly or through AWS Elastic Beanstalk. […] Many applications are able to operate entirely within this free tier limit, and it does not expire after a year.

(Nick Gray) #36

Just migrated over to super easy setup and email worked after a quick change of smtp settings. I recommend it!

(Noah Kantrowitz) #37

The problem with sending email isn’t the CPU or RAM overhead, it’s that basically all public cloud IPs are blacklisted by spam filters. Mailgun/Sparkpost/SendGrid aren’t just selling email per se, they are selling deliverability.

(ljpp) #38

How do you handle the incoming email?

(Peter N Lewis) #39

I run several instances of exim, and they really aren’t all that difficult (but I have been doing it for decades).

As @coderanger says, the problem is not so much setting up exim (which is relatively easy), the problem is that verizon online, hotmail, live, etc, all automatically blacklist email sent from Digital Ocean (and presumably other providers) with no recourse, and no way to get off the blacklist.

How email providers can just choose not to allow legitimate email through and still claim to provide a service to their customers I’m not really sure, but that’s the situation. I was just about to look and mandrill (even set up an account), and also just about to move my main email server onto Digital Ocean with the intention of using mandrill for at least some delivery if not all), so this has definitely put a spanner in the works. Looking forward to trying looking at some of the alternatives.


Are you certain of this? What I read is that 10% of Digital Ocean IP’s in a particular datacenter were on a major blacklist, but the rest of the datacenter’s IP block remained uneffected. There isn’t even a publicly available listing of IPs that DO owns. They buy up whatever is on the open market when needed.

(Peter N Lewis) #41

Who knows if it is all of Digital Ocean or some of it, 10% or 90%? Its kind of academic if it is your server. And it’s been getting worse. It started with just Verizon online. Now it includes all of microsoft’s services as well, hotmail and live and such.

Please contact your Internet service provider since part of their network is on our block list.

Doesn’t help since I’ve talked with DO’s support and they can’t do anything either.

Sigh. This is why email needs to be charged to send, you’re basically paying a price for people to believe you are legitimate.