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

SPF with redirect problem #31

Open
kelvin52901 opened this issue Jun 29, 2021 · 1 comment
Open

SPF with redirect problem #31

kelvin52901 opened this issue Jun 29, 2021 · 1 comment

Comments

@kelvin52901
Copy link

hi all,

when I test this SPF "v=spf1 v=spf1 redirect=spf.protection.outlook.com -all" with IP 40.92.1.1 in MXtool box, it return pass. However, when I do the same thing with this module, it returns Fail.

I did some extra test on this case, look like because it end with -all, so that the redirect part become useless.

@sdgathman
Copy link
Owner

See RFC7208 6.1.3:

If all mechanisms fail to match, and a "redirect" modifier is
present, then processing proceeds as follows:

So MXtool box is broken. HOWEVER, I need to check that the test suite includes this. If they pass the test suite, then the test suite is broken also.

BTW - I'm assuming the duplicate v=spf1 is a typo. If not, the dup is an unknown modifier and doesn't change the result.

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