Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Answer to "Can I set up DMARC without SPF?" is wrong #2

Open
link2xt opened this issue Jun 18, 2024 · 1 comment
Open

Answer to "Can I set up DMARC without SPF?" is wrong #2

link2xt opened this issue Jun 18, 2024 · 1 comment
Assignees

Comments

@link2xt
Copy link

link2xt commented Jun 18, 2024

If you set up DMARC without SPF, it's like the security guard is missing one of its tools. It can still use DKIM to check emails, but it won't be as effective.

DMARC fails if both SPF and DKIM fail, so if you set up DMARC without SPF, DMARC will always fail if DKIM fails. This will result in more failures than if you set up SPF and DKIM, so it is "more effective".

SPF is a legacy mechanism relying only on source IP addresses and no cryptography, it offers similar security to TCP wrappers. Making SPF always fail and relying only on DKIM is more secure, the only reason to use SPF is when you care about deliverability more than authentication of emails.

If there is no SPF policy, SPF will produce a "none" result and not "pass". DMARC passes if either DKIM or SPF produces a "pass" result, so if you don't setup SPF at all it is more secure according to DMARC RFC.

@nicanorflavier nicanorflavier self-assigned this Jun 18, 2024
@nicanorflavier
Copy link
Owner

Hi there, thanks for your review there.
What would you suggest in this case to improve the content?
Would you want to raise a PR so I can see your changes?
If all good then I can merge that to main branch and you listed as contributor, cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants