so we have some email problems, here the situation:
Discourse to work well need to be able to send email (SMTP etc.)
for that, we used our default config with “Google Apps for Work”
as we do with any other servers, but we overlook a crucial thing
our account is limited to send 500 emails per day
but wait, it’s worst than that, it’s an old bug we already had on other servers back in October 2015
Oct 9 03:01:53 ks388620 sSMTP: 550 5.4.5 Daily user sending quota exceeded. h6sm616605wiy.14 - gsmtp Oct 9 03:11:02 ks388620 sSMTP: 550 5.4.5 Daily user sending quota exceeded. ld5sm49295029wjc.18 - gsmtp Oct 9 03:11:36 ks388620 sSMTP: 550 5.4.5 Daily user sending quota exceeded. hs5sm9361799wib.6 - gsmtp Oct 9 03:11:51 ks388620 sSMTP: 550 5.4.5 Daily user sending quota exceeded. az6sm9344746wib.12 - gsmtp Oct 9 03:11:54 ks388620 sSMTP: 550 5.4.5 Daily user sending quota exceeded. gc19sm626797wic.19 - gsmtp Oct 9 03:11:57 ks388620 sSMTP: 550 5.4.5 Daily user sending quota exceeded. lh11sm629317wic.18 - gsmtp
That’s the first problem, it should have been fixed in October, it came back, Google are good but not super easy to contact for support when things go wrong.
The second problem is that we use “Google Apps for Work”
globally for all our servers and domains, and well the more it goes the more it does not scale (eg. 10 servers = sending 50 email/day).
Third problem is our “Google Apps for Work” is considered trial,
because I use that since the service was in beta and Google was generous enough to give me 100 free accounts that I use for all my domains since then and well… it’s free so basically I should not complain to them.
For the record you are hosted on “Corsaair Networks” where I do my main sysadmin activity, and as much as I love to configure and setup Linux servers, I always put aside the “email problem” eg. I did not want to go into the headache of installing and configuring email servers.
So, yeah it’s my fault, I own it, I’m working on fixing it.
There are about 3 ways to solve that problem
- throw money at Google, become a paying customer
- throw money at another service like Mandrill
(promoted by discourse)
- learn and configure email servers myself
I’m gonna go for the later “do things myself” which will take a bit longer than just pay for a service, not necessarily because I’m a cheap bastard who don’t want to pay but more because it’s time I learn this kind of thing so I can understand exactly why things work or not when there is a problem.