Email notifications not sent when review comments are added.

910 views
Skip to first unread message

shravanthi s

unread,
Jan 12, 2014, 10:47:51 PM1/12/14
to revie...@googlegroups.com
Hi,

Some of our users are complaining that they are not getting any mail notifications when review comments are added to an ongoing review. However these users get email alets when the review is created/posted. I took a look at the email settings and they seem to be fine. Any other settings i need to check to resolve this issue?

Thanks,
Shravanthi
EMC2

markd...@gmail.com

unread,
Jan 13, 2014, 10:57:15 AM1/13/14
to revie...@googlegroups.com
Anything unusual in the sendmail log, e.g. /var/log/maillog ?

shravanthi s

unread,
Jan 14, 2014, 3:35:35 AM1/14/14
to revie...@googlegroups.com
The log contents are as follows

"Jan 13 04:02:14 pls-reviewbrdsc sendmail[26138]: s0D92DOj026138: from=root, size=2056, class=0, nrcpts=1, msgid=<201401130902....@pls-reviewbrdsc.isus.emc.com>, relay=root@localhost
Jan 13 04:02:14 pls-reviewbrdsc sendmail[26138]: s0D92DOj026138: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=32056, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] "

It looks like mail was deferred. Is it something to do with Review Board server or our mail server?

shravanthi s

unread,
Feb 12, 2014, 12:26:17 AM2/12/14
to revie...@googlegroups.com
Hi Mark,

I checked our maillog and there as been no connection refused error since Feb 4th. However users are still complaining that emails are not sent for a few reviews. So i checked reviewboard.log and found this error.

2014-02-11 18:56:39,425 - ERROR - Error sending e-mail notification with subject 'Re: Review Request: Removing dpa_events and its dependencies for DPA SP' on behalf of '"Piyush Govani" <piyushkum...@emc.com>' to ',"Piyush Govani" <piyushkum...@emc.com>,...,"Saurabh Kapoor" <Saurabh...@emc.com>': {'': (553, '5.0.0 <>... User address required'),...}

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6.12-py2.4.egg/reviewboard/notifications/email.py", line 231, in send_review_mail

    message.send()

  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/mail/message.py", line 251, in send

    return self.get_connection(fail_silently).send_messages([self])

  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/mail/backends/smtp.py", line 86, in send_messages

    sent = self._send(message)

  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/mail/backends/smtp.py", line 104, in _send

    email_message.message().as_string())

  File "/usr/lib/python2.4/smtplib.py", line 691, in sendmail

    raise SMTPRecipientsRefused(senderrs)

SMTPRecipientsRefused: {'': (553, '5.0.0 <>... User address required'), 'Raphael Aubert <Raphael...@emc.com>': (550, '5.7.1 <Raphael...@emc.com>... Access denied'),..etc}

Please let me know how i can resolve this issue as i do not see any error in maillog.

On Monday, 13 January 2014 09:17:51 UTC+5:30, shravanthi s wrote:

shravanthi s

unread,
Feb 12, 2014, 12:45:24 AM2/12/14
to revie...@googlegroups.com
Also, the emails are not sent occasionally. Sometimes, users dont get email notification on first review comment but they get notified for the second one. So the issue is very intermittent as of  now. 


On Monday, 13 January 2014 09:17:51 UTC+5:30, shravanthi s wrote:

Christian Hammond

unread,
Feb 12, 2014, 1:11:16 AM2/12/14
to revie...@googlegroups.com
It looks like one or more users has an empty string or something set for their e-mail address.

For the users who don't get the initial e-mails, I'd have them check the spam filter or their other filters first. We've seen that happen elsewhere, and sometimes it's just a filter thing.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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/groups/opt_out.

shravanthi s

unread,
Mar 21, 2014, 1:11:33 AM3/21/14
to revie...@googlegroups.com
Hi Christian,

I have verified email address of all users and they are correct and none of it is empty. I still face this issue where mails are not sent intermittently. Same set of users get email when a review is raised and they dont get when a comment is added. Lot of users are complaining about this as they are missing review requests and updates. I tried to remove sendmail and installed postfix as mail agent on my RHEL 5.5 review board server. But that doesnt seem to fix the issue either. I still see the error below

 Error sending e-mail notification with subject 'Re: Review Request: test123' on behalf of '"example1" <exam...@emc.com>' to '"example2" <exam...@emc.com>,"example1" <exam...@emc.com>': {'example2 <exam...@emc.com>': (550, '5.7.1 <exam...@emc.com>... Access denied'), 'example1 <exam...@emc.com>': (550, '5.7.1 <exam...@emc.com>... Access denied')}
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.6.12-py2.4.egg/reviewboard/notifications/email.py", line 231, in send_review_mail
    message.send()
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/mail/message.py", line 251, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/mail/backends/smtp.py", line 86, in send_messages
    sent = self._send(message)
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/mail/backends/smtp.py", line 104, in _send
    email_message.message().as_string())
  File "/usr/lib/python2.4/smtplib.py", line 691, in sendmail
    raise SMTPRecipientsRefused(senderrs)
SMTPRecipientsRefused: {'example2 <exam...@emc.com>': (550, '5.7.1 <exam...@emc.com>... Access denied'), 'example1 <exa...@emc.com>': (550, '5.7.1 <exam...@emc.com>... Access denied')}

Please advice.

On Monday, 13 January 2014 09:17:51 UTC+5:30, shravanthi s wrote:

shravanthi s

unread,
Mar 24, 2014, 6:18:48 AM3/24/14
to revie...@googlegroups.com
Any update? We are unable to root cause the issue and it is becoming more difficult to track reviews if notification mails are not sent. Please help!

Thanks,
Shravanthi


On Monday, 13 January 2014 09:17:51 UTC+5:30, shravanthi s wrote:

MoonWalker

unread,
Mar 25, 2014, 6:10:30 PM3/25/14
to revie...@googlegroups.com
which RB version are you using on Win or Linux?

Christian Hammond

unread,
Mar 25, 2014, 7:07:29 PM3/25/14
to revie...@googlegroups.com
Are you able to get any more details from your mail server?

It's possible it's just not allowing e-mails to be sent from Review Board on behalf of any users. I wouldn't be able to say without knowing more about the configuration.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.

shravanthi s

unread,
Mar 26, 2014, 5:11:47 AM3/26/14
to revie...@googlegroups.com
Hi ,

Am using Review Board 1.6.12 on RHEL 5.5 server.

The users are not getting email notifications intermittently. Same set of users get mail when a review is raised but not when comments are added (just an example but wanted to mention that mails are not sent regularly and i did not see any pattern with mail notifications that were missed) . This is sample log from /var/log/maillog 

Mar 25 23:56:03 rbserver/pickup[28138]: C45909F991: uid=0 from=<root>
Mar 25 23:56:03 rbserver postfix/cleanup[29056]: C45909F991: message-id=<201403260356...@rbserver.isus.emc.com>
Mar 25 23:56:03 rbserver postfix/qmgr[10753]: C45909F991: from=<ro...@isus.emc.com>, size=597, nrcpt=1 (queue active)
Mar 25 23:56:05 rbserver postfix/smtp[29058]: C45909F991: to=<ro...@isus.emc.com>, orig_to=<root>, relay=emcmailserver[10.XXX.2XX.1XX]:25, delay=1.8, delays=0.09/0.02/0.42/1.3, dsn=2.0.0, status=sent (250 2.0.0 s2Q3u3di000389 Message accepted for delivery)
Mar 25 23:56:05 rbserver postfix/qmgr[10753]: C45909F991: removed

Is there any other log i need to check? I do not see any error in maillog. But mails are still not sent. So issue is not with mailagent on server. Is it some config in RB that i need to change?

Thanks,
Shravanthi


On Monday, 13 January 2014 09:17:51 UTC+5:30, shravanthi s wrote:
Reply all
Reply to author
Forward
0 new messages