I setup RB2.0.12 to use corp SMTP server.
It sends test emails successfully, but fails to send any review request
notification emails. It probably has to do with resolving user email
address from ldap (attribute is configured as default 'mail'). What I get
in log;
59 2015-02-09 23:04:01,083 - ERROR - - Error sending e-mail notification
with subject 'Re: Review Request 16: test RB' on behalf of '"tafy" <>' to
'"tafy" <>,"mtha" <>': {'tafy <>': (501, '5.1.3 Invalid address'), 'mtha
<>': (501, '5.1.3 Invalid address')} 60 Traceback (most recent call last):
61 File
"/opt/python/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/notifications/email.py",
line 293, in send_review_mail
62 message.send()
63 File
"/opt/python/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/mail/message.py",
line 276, in send
64 return self.get_connection(fail_silently).send_messages([self])
65 File
"/opt/python/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/mail/backends/smtp.py",
line 94, in send_messages
66 sent = self._send(message)
67 File
"/opt/python/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/mail/backends/smtp.py",
line 110, in _send
68 self.connection.sendmail(from_email, recipients, message.as_bytes())
69 File "/opt/python/lib/python2.7/smtplib.py", line 735, in sendmail
70 raise SMTPRecipientsRefused(senderrs)
71 SMTPRecipientsRefused: {'tafy <>': (501, '5.1.3 Invalid address'),
'mtha <>': (501, '5.1.3 Invalid address')}
in Authentication settings I set;
LDAP Server
LDAP Base DN
Username Attribute: sAMAccountName
Given Name Attribute:givenName
Surname Attribute:sn
Full Name Attribute: <empty>
E-Mail Domain: <tried with or without my corp domain name like corp.com &
@corp.com>
E-Mail LDAP Attribute:mail
Custom LDAP User Search Filter:sAMAccountName=%s
Review Board LDAP Bind Account:<admin account>
Review Board LDAP Bind Password:<admin password>
Note domain users login successfully on RB.
What should I do to get to the root of this issue ASAP? Where should I look?
I'll start looking in code after 'user.get_full_name()' till I get a
respond from Christian :) Please help.
Thanks for your support.
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.