Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 571408 - Messages from eclipse.org mailing lists failing DMARC
Summary: Messages from eclipse.org mailing lists failing DMARC
Status: CLOSED MOVED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: MailingLists (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-22 10:34 EST by Jonah Graham CLA
Modified: 2021-12-23 06:47 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2021-02-22 10:34:00 EST
Bug 541216 and Bug 522316 made lots of progress on fixing this type of issue. Thanks for all the effort.

However this morning I am still seeing DMARC failures, so I report them here in the hope that it is useful to try and resolve them. Today's one was from @st.com.

This is the header, let me know if you want more:

Authentication-Results: mx.google.com;
       arc=fail (signature failed);
       spf=pass (google.com: domain of srs0=9wyv=hy=eclipse.org=cdt-dev-bounces@bounce2.pobox.com designates 173.228.157.41 as permitted sender) smtp.mailfrom="SRS0=9WYv=HY=eclipse.org=cdt-dev-bounces@bounce2.pobox.com";
       dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=st.com
Comment 1 Jonah Graham CLA 2021-02-22 10:37:07 EST
Sorry - I missed a line from the header in Comment 0:

Received-SPF: pass (google.com: domain of srs0=9wyv=hy=eclipse.org=cdt-dev-bounces@bounce2.pobox.com designates 173.228.157.41 as permitted sender) client-ip=173.228.157.41;
Authentication-Results: mx.google.com;
       arc=fail (signature failed);
       spf=pass (google.com: domain of srs0=9wyv=hy=eclipse.org=cdt-dev-bounces@bounce2.pobox.com designates 173.228.157.41 as permitted sender) smtp.mailfrom="SRS0=9WYv=HY=eclipse.org=cdt-dev-bounces@bounce2.pobox.com";
       dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=st.com


FWIW an email from ST directly to me passes DMARC:

Received-SPF: pass (google.com: domain of srs0=r03d=hy=st.com=torbjorn.svensson@bounce2.pobox.com designates 64.147.108.51 as permitted sender) client-ip=64.147.108.51;
Authentication-Results: mx.google.com;
       dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xRmegnbT;
       arc=pass (i=2 spf=pass spfdomain=st.com dkim=pass dkdomain=st.com dmarc=pass fromdomain=st.com);
       spf=pass (google.com: domain of srs0=r03d=hy=st.com=torbjorn.svensson@bounce2.pobox.com designates 64.147.108.51 as permitted sender)
Comment 2 Eclipse Webmaster CLA 2021-02-23 16:40:44 EST
Sigh.  I'm going to use cdt-dev as a guinea pig, and have set dmarc_moderation_action to 'munge' for domains that publish a dmarc policy of reject/quarantine.

If that makes things better, I'll roll out the change to all lists.

-M.
Comment 3 Jonah Graham CLA 2021-02-23 16:44:44 EST
Torbjörn, can you send an email to cdt-dev when you can? Thanks.
Comment 4 Jonah Graham CLA 2021-02-23 16:45:12 EST
Matt, thanks for your help!
Comment 5 Torbjörn Svensson CLA 2021-02-24 10:46:10 EST
(In reply to Jonah Graham from comment #3)
> Torbjörn, can you send an email to cdt-dev when you can? Thanks.

Mail sent and this time I also revived it.
Not sure about the headers though...
Comment 6 Jonah Graham CLA 2021-02-24 11:19:50 EST
(In reply to Eclipse Webmaster from comment #2)
> If that makes things better, I'll roll out the change to all lists.

It is better - gmail does not mark it as spam, still fails DMARC though (I have no idea if that is expected or not):

Received-SPF: pass (google.com: domain of srs0=xp3k=h2=eclipse.org=cdt-dev-bounces@bounce2.pobox.com designates 173.228.157.42 as permitted sender) client-ip=173.228.157.42;
Authentication-Results: mx.google.com;
       arc=fail (signature failed);
       spf=pass (google.com: domain of srs0=xp3k=h2=eclipse.org=cdt-dev-bounces@bounce2.pobox.com designates 173.228.157.42 as permitted sender) smtp.mailfrom="SRS0=Xp3K=H2=eclipse.org=cdt-dev-bounces@bounce2.pobox.com";
       dmarc=fail (p=QUARANTINE sp=REJECT dis=NONE) header.from=eclipse.org
Comment 7 Eclipse Webmaster CLA 2021-02-24 12:00:07 EST
Can you email webmaster the entire header trace?

-M.
Comment 8 Jonah Graham CLA 2021-02-24 14:21:38 EST
(In reply to Eclipse Webmaster from comment #7)
> Can you email webmaster the entire header trace?
> 
> -M.

Sent, subject "full emails for Bug 571408"
Comment 9 Eclipse Webmaster CLA 2021-02-25 12:03:34 EST
Having been through both header traces I think that the DMARC failure is to be expected.  When the from: is @st.com the mail flow is:

st.com->microsoft.com->eclipse.org->pobox.com->gmail

Which looks pretty suspicious.  But if we 'munge' the from: the chain looks more like:

eclipse.org->pobox.com->gmail

Gmail is probably less likely to interpret that short chain as spam. 

So the step through pobox.com should fail DMARC checking every time for either mail flow, since it's acting as a relay so it's not the 'source' domain.  

@Jonah do you see that same DMARC failure for other messages(not just those passing through eclipse.org)?

-M.
Comment 10 Jonah Graham CLA 2021-02-25 12:09:57 EST
Emails from st.com directly to my inbox are passing DMARC - same source address and same @kichwacoders.com address. An example of which is Comment 1, second part. I'll send the whole email to webmaster@ in a moment.
Comment 11 Eclipse Webmaster CLA 2021-02-25 17:27:37 EST
Well after looking at some more traces provided by Jonah it's still unclear to me why this is happening.  I'm hoping that the next DMARC report from google might provide some insight, but they are pretty sparse so it's a bit of a long shot.


-M.
Comment 12 Eclipse Webmaster CLA 2021-03-08 13:56:28 EST
I've been through the DMARC reports(for the time period in question), and all I see is the occasional DKIM/SPF failure.  But there isn't enough information for me to determine if these were messages sent directly(bugzilla) or indirectly(mailing list).

So for right now we may have to live with the occasional DMARC failure.

I have turned on the same dmarc munge option for another list, so if more people report issues receiving mail on other lists, I'll roll it out globally.

-M.
Comment 13 Jonah Graham CLA 2021-03-26 21:49:28 EDT
@Matt - it looks like you changed the From address for problematic emails to be "Torbjorn SVENSSON via cdt-dev <cdt-dev@eclipse.org>" and have rolled out the dmarc munge option on other lists too.

This seems like a good step forward. 

The emails are still arc=fail, but are not being marked by gmail as spam.
Comment 14 Eclipse Webmaster CLA 2021-03-29 15:53:12 EDT
(In reply to Jonah Graham from comment #13)

> and have rolled out the dmarc munge option on other lists too.

Right I forgot to mention that.  Well at least no-one has complained that it's broken things :)

> The emails are still arc=fail, but are not being marked by gmail as spam.

I'll live with this for now, as long as you're getting the messages in your inbox.

-M.
Comment 15 Matthias Becker CLA 2021-05-03 01:36:59 EDT
The last Eclipse Foundation Community Newsletter was categorised as SPAM because of a DMARC failure.
Comment 16 Sebastian Ratz CLA 2021-08-27 07:32:16 EDT
@sap.com implements strict DMARC policy.

Mails sent from @sap.com to Eclipse mailing lists will not reach anyone else on the mailing list with an @sap.com address, due to DMARC failure.

This is because the "FROM" header doesn’t match the "MAIL FROM" header:

Example:
  MAIL FROM: eclipse-ide-wg-steering-bounces@eclipse.org
  FROM: someone@sap.com.

Related: https://serverfault.com/a/678335

Is there anything that can be done on Eclipse mailing list side to get this working?
Comment 17 Frederic Gurr CLA 2021-12-23 06:47:07 EST
This issue has been migrated to https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/567.