
[ https://ovirt-jira.atlassian.net/browse/OVIRT-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22145#comment-22145 ] Marc Dequènes (Duck) commented on OVIRT-798: -------------------------------------------- Summary from the mail thread follows. Gerrit spoof the sender of notifications using the user's address. But Gerrit is not allowed to send mails from any domain due to SPF policy. The Red Hat policy is getting stricter, and other companies also do so, so we need to change this behavior. According to: https://review.openstack.org/Documentation/config-gerrit.html#sendemail I suggested we could update the sendemail.from setting with the wanted address instead of USER. I never touched this software so maybe someone more familiar could do the change if it looks ok. Also we need to schedule this to avoid bothering people. Evgheni suggested using automation@ovirt.org as From. Moreover, to be able to send from the oVirt domain the SPF settings in DNS was changed.
outgoing mail failure - SPF fail --------------------------------
Key: OVIRT-798 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-798 Project: oVirt - virtualization made easy Issue Type: By-EMAIL Reporter: Yedidyah Bar David Assignee: infra
Hi, When adding a reviewer to a patch on gerrit, I get an email: The original message was received at Mon, 31 Oct 2016 05:07:32 -0400 from gerrit.ovirt.org [127.0.0.1] ----- The following addresses had permanent fatal errors ----- <sbonazzo@redhat.com> (reason: 551 5.7.1 SPF fail: 'gerrit.ovirt.org'[107.22.212.69], 'redhat.com'; REJECT) ----- Transcript of session follows ----- ... while talking to mx1.redhat.com.:
DATA <<< 551 5.7.1 SPF fail: 'gerrit.ovirt.org'[107.22.212.69], 'redhat.com'; REJECT 550 5.1.1 <sbonazzo@redhat.com>... User unknown <<< 554 5.5.1 Error: no valid recipients Final-Recipient: RFC822; sbonazzo@redhat.com Action: failed Status: 5.7.1 Remote-MTA: DNS; mx1.redhat.com Diagnostic-Code: SMTP; 551 5.7.1 SPF fail: 'gerrit.ovirt.org'[107.22.212.69], 'redhat.com'; REJECT Last-Attempt-Date: Mon, 31 Oct 2016 05:07:33 -0400 Please check/handle. Thanks. -- Didi
-- This message was sent by Atlassian JIRA (v1000.482.3#100017)