Review Board doesn't send emails

574 views
Skip to first unread message

Steve Thompson

unread,
Jul 27, 2016, 1:18:55 PM7/27/16
to reviewboard
Hi,

I have a Review Board installation hosted on Google Cloud and using SendGrid as its SMTP server. When I go to the Admin > E-Mail settings page, click the checkbox labelled "Send a test email after saving" and click Save, I receive a test email.

However, this is the only email I ever receive from RB. Today I upgraded to 2.5.6.1 which is working fine but I'm still not receiving emails.

On looking through this forum, for a lot of people who have encountered this problem it's turned out to be because of a restrictive mail server (which is a good thing). However, not only do I not have a problem with the test email but /var/log/reviewboard/reviewboard.log makes no mention of email being sent either successfully or unsuccessfully. So before I can diagnose why my emails aren't being sent I need to find out why email transactions aren't being logged (or if they're being logged somewhere else and I missed that bit).

RB was installed (and upgraded) using easy_install. Is there a chance there's another Python module that I should've installed manually but missed in the instructions? 

My logging is set to Debug - does anyone know why my logs aren't showing email transactions? For example

root@reviewboard-2:/var/log/reviewboard# grep -i debug reviewboard.log | wc -l
63241

So it's definitely logging debug messages. But

root@reviewboard-2:/var/log/reviewboard# grep -i smtp reviewboard.log | wc -l
0
root@reviewboard-2:/var/log/reviewboard# grep -i mail reviewboard.log | wc -l
0

Just to clarify - all the "Send e-mails when " checkboxes are checked and all the registered users have valid email addresses. 

Any suggestions for things I can poke or tweak gratefully received.

Steve

Christian Hammond

unread,
Jul 28, 2016, 5:52:28 PM7/28/16
to revie...@googlegroups.com
Hi Steve,

Given what you said, it seems the e-mails *are* sending correctly (to SendGrid, anyway). The test e-mail went out fine, and you would have seen errors in reviewboard.log if sending had failed at any point.

So what's happening is not a failure in sending to your e-mail provider. It's a failure in your e-mail provider to accept the message (in a way we're not notified of) or a failure to deliver to the recipients.

We send on behalf of users, and this can get tricky depending on how things are configured. Since the test e-mail went out, but others aren't, this is likely where things are failing.

A couple of questions:

1) What your "Sender e-mail address" is in the Review Board e-mail settings. Specifically, is the domain for that address a domain under your control (configured with SendGrid)?

2) Do you have SPF/DKIM records set up properly?

3) What sort of e-mail addresses are you sending to? Are they all at a certain domain?

Christian

-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

moor...@gmail.com

unread,
Nov 1, 2016, 1:25:15 PM11/1/16
to reviewboard
I'm basically in the same situation except a test email will not send. For what's its worth telnet email worked ok.
How do i troubleshoot this? I don't see anything in any logs. I even tried bogus smtp server and nothing.

board review 2.5.6.1

doug

Christian Hammond

unread,
Nov 1, 2016, 3:12:02 PM11/1/16
to revie...@googlegroups.com
Try upgrading to 2.5.7. We made some significant changes to email sending that should help satisfy some of the more protective email servers.

Christian
--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages