Score:1

G Suite email forwarding with SRS

sh flag

I'm forwarding email from my G Suite domain to an Outlook.com email address. This worked perfectly fine until earlier this month. All forwarded emails go directly to junk, because SPF is failing.

For example: grouponmail.nl -> G Suite -> Outlook.com. In Outlook.com the email headers are:

Authentication-Results: spf=softfail (sender IP is 108.177.16.23)
 smtp.mailfrom=bounce.r.grouponmail.nl; outlook.com; dkim=pass (signature was
 verified) header.d=r.grouponmail.nl;outlook.com; dmarc=pass action=none
 header.from=r.grouponmail.nl;compauth=pass reason=100

So the G Suite server is still using Groupon's from address when forwarding which causes the SPF to fail. I can't find any option to rewrite the from address when creating a new route. All options are listed here: https://support.google.com/a/answer/6297084.

How can I rewrite the from address when forwarding email using G Suite (also known as SRS/Sender Rewriting Scheme)?

Score:0
ph flag

I am using split delivery in Google Workspace aka. G Suite to forward all mail not belonging to existing accounts on Google Workspac to my own mail server, so I have a similar scenario of sorts. Consequently, I came across the same problem: Google does not do SRS on these forwarded emails, and there is no way to enable it in the settings.

The answer to your question after my extensive research is: Google does not support Sender Rewriting Scheme (SRS) an we should request this as a feature, as we are not the first paying Google customers experiencing SPF problems when forwarding emails. (source)

I do not have enough reputation to post this as comment, so this remark goes in-line:

My workaround on my private postfix server was to disable SPF checking on emails forwarded by google.com, which in my postfix configuration meant adding this line to /etc/postfix-policyd-spf-python/policyd-spf.conf :

Domain_Whitelist  = google.com
Score:0
pk flag

We are not alone. There's an issue filed already but apparently GSuite doesn't care about these issues: https://issuetracker.google.com/issues/244619242

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.