Comment #10 on issue 1343 by chris.a....@gmail.com: forging a user's 'From:' address in email notifications is incompatible with DKIM/mail filtering/review list moderation
http://code.google.com/p/reviewboard/issues/detail?id=1343

I'm still having issues with this on ReviewBoard 1.6.5. Our company uses a hosted MS Outlook service. Here's the trace from the logfile (with subject and email addresses changed):

Error sending e-mail notification with subject 'Re: Review Request: Subject' on behalf of '"John Doe" <j...@example.com>' to '"Joe Blow" <jb...@example.com>': (550, '5.7.1 Client does not have permissions to send on behalf of the from address')
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.5-py2.5.egg/reviewboard/notifications/email.py", line 231, in send_review_mail
    message.send()
File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/mail/message.py", line 251, in send
    return self.get_connection(fail_silently).send_messages([self])
File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/mail/backends/smtp.py", line 86, in send_messages
    sent = self._send(message)
File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/mail/backends/smtp.py", line 104, in _send
    email_message.message().as_string())
  File "/usr/lib/python2.5/smtplib.py", line 707, in sendmail
    raise SMTPDataError(code, resp)
SMTPDataError: (550, '5.7.1 Client does not have permissions to send on behalf of the from address')

The "Sender e-mail address" in the admin settings is reviewbo...@example.com. In the past I've had to "get around" this by setting every user's email address to match that, and just tell everyone to make sure they include the group mailing list on their reviews, but obviously that sucks. Is there a way to configure reviewboard such that it just does a standard From using that value and does not use "sender" headers to make it "on behalf of" the users? Setting up the mail servers to allow sending on behalf of other accounts is beyond my control.

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to