• 
      

    Change e-mail sending to use <Name> via Review Board when e-mail spoofing disabled.

    Review Request #9216 — Created Sept. 24, 2017 and submitted — Latest diff uploaded

    Information

    Djblets
    release-0.10.x
    2179201...

    Reviewers

    When e-mail messages are created with enabled_smart_spoofing disabled,
    the 'From' header should match a DMARC failure but instead the original
    from_address is used.

    This changes makes e-mail messages copy the same functionality as DMARC
    not allowing spoofing when enable_smart_spoofing is disabled. This
    changes the mail tests to expect the change in functionality when
    enable_smart_spoofing is False.

    This change is from the comments on the review for adding an option for
    disabling e-mail smart spoofing (https://reviews.reviewboard.org/r/9209).

    The full testing suite for djblets was run.