{"thread":{"id":"58266","subject":"mail from mathworks.com domain is rejected","startedAt":"2022-08-04T15:57:58Z","lastAt":"2022-08-04T16:22:02Z","messageCount":2,"participants":["Eric D","Theodore Ts'o"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"460624","messageId":"CAMxJVdH6_CAhe1ToJnFB55dQAJd81HD0vUDgZ_1Ub=9QKJbHjg@mail.gmail.com","threadId":"58266","inReplyTo":null,"subject":"mail from mathworks.com domain is rejected","fromName":"Eric D","fromEmail":"eric.decosta@gmail.com","sentAt":"2022-08-04T15:57:40Z","receivedAt":"2022-08-04T15:57:58Z","isPatch":false,"sender":{"key":"eric.decosta@gmail.com","avatar":null},"body":"I and a colleague of mine have been unable to send email to this list\nfrom our work accounts; the mail server always responds with the\nfollowing:\n\ngit@vger.kernel.org\n23.128.96.18\nRemote Server returned '554 5.7.1 <23.128.96.18 #5.7.1 smtp; 553 5.7.1\nHello [23.128.96.19], for your MAIL FROM address\n<edecosta@mathworks.com> policy analysis reported: Your address is not\nliked source for email>'\n\nCan this be corrected? Is there any additional information that I can provide?\n\n-Eric\n"},{"id":"460630","messageId":"YuvyGzevAMWyd0K5@mit.edu","threadId":"58266","inReplyTo":"CAMxJVdH6_CAhe1ToJnFB55dQAJd81HD0vUDgZ_1Ub=9QKJbHjg@mail.gmail.com","subject":"Re: mail from mathworks.com domain is rejected","fromName":"Theodore Ts'o","fromEmail":"tytso@mit.edu","sentAt":"2022-08-04T16:21:47Z","receivedAt":"2022-08-04T16:22:02Z","isPatch":false,"sender":{"key":"tytso@mit.edu","avatar":"https://avatars.githubusercontent.com/u/51416?v=4"},"body":"On Thu, Aug 04, 2022 at 11:57:40AM -0400, Eric D wrote:\n> I and a colleague of mine have been unable to send email to this list\n> from our work accounts; the mail server always responds with the\n> following:\n> \n> git@vger.kernel.org\n> 23.128.96.18\n> Remote Server returned '554 5.7.1 <23.128.96.18 #5.7.1 smtp; 553 5.7.1\n> Hello [23.128.96.19], for your MAIL FROM address\n> <edecosta@mathworks.com> policy analysis reported: Your address is not\n> liked source for email>'\n> \n> Can this be corrected? Is there any additional information that I can provide?\n\nMathworks.com has the following SPF settings (found by running \"dig -t\nTXT mathworks.com\"):\n\nmathworks.com.          900     IN      TXT     \"v=spf1 ip4:144.212.130.25 ip4:144.212.244.25 include:spf-misc.mathworks.com include:spf.protection.outlook.com include:us._netblocks.mimecast.com include:_spf.salesforce.com ?exists:%{i}._spf.mathworks.com ~all\"\n\nThe ip address 23.128.96.19 reverse resolves to lindbergh.monkeyblade.net.\n\nAt a guess, after expanding the indlude: fields for the SPF record for\nmathworks.com, it looks like individual IP addresses that are manually\nadded by the mathworks.com postmaster are stored in\nspf-misc.mathworks.com and spf-misc1.mathworks.com.  For example:\n\n% dig -t TXT spf-misc.mathworks.com\n\t...\nspf-misc.mathworks.com. 900     IN      TXT     \"v=spf1 ip4:144.212.128.24/29 ip4:142.0.160.0/20 ip4:144.212.100.42/32 ip4:208.185.229.0/24 ip4:208.185.235.0/24 ip4:12.130.57.0/24 include:spf-misc1.mathworks.com ~all\"\n\t...\n\nSo it looks like you and your colleague need to ask your work's mail\nadmins to add the IP addresses of the hosts from which you send e-mail\nto mathworks.com's SPF allow list.  Alternatively, they may tell you\nto reconfigure your mailers to use one of mathworks.com's mail\nsubmission servers.\n\nCheers,\n\n\t\t\t\t\t- Ted\n"}]}