Please fix the weekly digest error recovery issue
-
I believe there is already a discussion about this but the weekly digest fails for me 14 times out of 16. What's happening is that the emails are being sent too fast with too many errors and it all craps out. Not being able to send the weekly digest is costing ad revenue loss plus we're not realizing the incremental benefit of bring people back into the forum conversations, which is the more important thing.
- Run the digest in batches
- Use exponential retry logic
- Allow admin to manually resume where it left off
I think the last one is the most important because at the very least I can babysit the process weekly until more automatic logic is released. It's almost impossible to even debug or try to do anything myself because I don't want to re-send the first 100 - 500 successful messages.
Part of the issue is that I have to SparkPost, I'm on a legacy free plan and I get 100k monthly emails. The existing nodebb-spark-post mailer doesn't seem to work so I have to rely on Spark Post itself to handle not block previously bounced emails. I'm not willing to move to another provider because it would cost about $100/month.
I'm still on 1.11.x because the emailer worked last week but failed again this week. I didn't want to change anything. So far, since November 13, the weekly digest has worked twice.
Finally, I can't post what the error is because log rotation is too fast on NodeBB. I basically lose all of my logs on a rolling 10 hour basis.
-
Related Github issues:
Email throttling · Issue #6911 · NodeBB/NodeBB
Hi Devs, Currently sendmail is configured without throttling. That may lead to email account blocking when mass emails are sent (for example during daily digest). One way to fix this is editing src/emailer.js, line 24, as follows: Emaile...
GitHub (github.com)
Allow weekly email digest to be resumed · Issue #7441 · NodeBB/NodeBB
Over the past 16 weeks I've been running NodeBB and the weekly digest has failed 14 times. It's super tough to debug because I can't resume where I left off. It would be awesome if I could manually kick off the weekly digest and have it ...
GitHub (github.com)