You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to find a good enough spf library. When reading your code for clues, I noticed that the code for validateSpf only checks if the domain's spf records are valid, not if the ip matches the spf selector.
You could use a library such as spf-validate-dns to check if the IP matches. (I can't because it doesn't have types)