Score:1

520 ip and spf record not match

fk flag

We are using Google Workspace and set Email forwarding using recipient address map to forward messages at our domain name (@example.com) to an external domain name (@external.com). Ex. mail sent to [email protected] will forward to [email protected].

The forward works when we email [email protected] from one of our Google Workspace accounts - it goes to [email protected].

When we email [email protected] from an external service like Outlook, we get the following error:

Message not delivered There was a problem delivering your message [email protected]. See the technical details below, or try resending in a few minutes.

Reporting-MTA: dns; googlemail.com Received-From-MTA: dns; [email protected] Arrival-Date: Sun, 10 Apr 2022 23:36:01 -0700 (PDT) X-Original-Message-ID: [email protected]

Final-Recipient: rfc822; [email protected] Action: failed Status: 5.0.0 Remote-MTA: dns; mxw.263.net. (XX.XX.XXX.XXX, the server for the domain external.com.) Diagnostic-Code: smtp; 520 ip and spf record not match Last-Attempt-Date: Sun, 10 Apr 2022 23:36:08 -0700 (PDT)

Appleoddity avatar
ng flag
I’m not posting an answer because I’m not sure of the best solution. But the problem is that when mail is forwarded like this, your mail server becomes the IP address that is sending the mail, and that IP address is not authorized by the original service that sent the mail. That is an SPF failure. It’s a well known issue. That one reason why SPF failures alone cannot be used to block email reliably. Senders should also use DKIM to authenticate their mail. Your forwarding mail server needs to rewrite the “return-path” header to not break SPF. i.e. it should be [email protected].
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.