[enterprise] SMTP Relay -> Spam SPF Classification #2874
Unanswered
dennisoderwald
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Just to confirm, messages are received from Google and placed in a Stalwart's account Spam folder? In any case, DMARC requires that either SPF or DKIM pass so a failed SPF validation should not be an issue as long as there is at least one DKIM signature that passes. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
If stalwart is always behind google and does google handle spam? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have Google Workspace in between and receive all emails that cannot be assigned by Google relayed, but now we have noticed that legitimate emails are ending up in spam. As I see it, this is probably due to the SPF record, which is no longer correct.
In our understanding and opinion, the problem lies here:
domain.com sends directly to our Google Workspace domain.
Stalwart now sees a Google server (209.85.221.69) as the sending IP.
SPF check verifies: “Is this Google IP permitted to send for eu-central-1.amazonses.com?” (as example) → No → SPF fail
The actual issue: SPF breaks during forwarding because Google forwards the email with its own IP but does not adjust the envelope sender (@eu-central-1.amazonses.com).
DKIM/DMARC have survived (DKIM signature remains intact during forwarding), but DMARC policy quarantine from domain.com still takes effect due to SPF fail.
What is the best way to solve this problem in Stalwart?
Beta Was this translation helpful? Give feedback.
All reactions