I'm testing Review Board 3.0.14 after upgrading from Review Board 3.0.3.

We want to use Amazon's SES (Simple Email Service) to send all mail from 
Review Board.

Default From address: "Review Board <[email protected]>" (no quotes)
Use the user's From address: Never

The test email from admin UI comes through fine. When I make an update to a 
review, no mail is sent and I get this in my log:

- root - Could not send e-mail message with subject "Re: Review Request 997: 
Terraform: CloudWatch dashboard update" from 
"ReviewBoard<[email protected]>" to "[u'Jamie-admin Gruener-admin 
<[email protected]>', u'Jamie Gruener 
<[email protected]>']"
Traceback (most recent call last):
  File 
"/usr/lib64/python2.7/site-packages/reviewboard/notifications/email/utils.py", 
line 295, in send_email
    message.send()
  File "/usr/lib/python2.7/site-packages/django/core/mail/message.py", line 
276, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", 
line 94, in send_messages
    sent = self._send(message)
  File "/usr/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", 
line 110, in _send
    self.connection.sendmail(from_email, recipients, message.as_bytes())
  File "/usr/lib64/python2.7/smtplib.py", line 750, in sendmail
    raise SMTPDataError(code, resp)
SMTPDataError: (554, "Transaction failed: User name is missing: 'Jamie-admin 
Gruener-admin via Review Board <ReviewBoard>'.")


If I change Default From address to just "[email protected]" (no 
quotes), the email goes through but is caught by spam filters and Outlook 
reports the email as coming from "Jamie-admin Gruener-admin 
<[email protected]>". This is not expected since the value "Use the 
user's From address:" has been set to Never.

I tried putting EMAIL_ENABLE_SMART_SPOOFING in settings.py, and now I can 
send mail, but it still is semi-spoofing messages.

What I want, what I really, really want, is that Review Board sends all 
email as from "Review Board <[email protected]>" and that 
individual users names or email address are *never* in any of the from:, 
sender:, x-sender:, or reply-to: SMTP fields. For our work flow, we never 
reply to those messages, so having the names in the email headers is not 
useful to us.

Thanks,
--Jamie

-- 
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 
"Review Board Community" 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.

Reply via email to