albertito / spf

SPF (Sender Policy Framework) implementation in Go [mirror]
Other
20 stars 8 forks source link

Check failed on `all` field #9

Open p4rthk4 opened 1 month ago

p4rthk4 commented 1 month ago

my domain spf record is v=spf1 mx ~all and yahoo spf record is v=spf1 ptr:yahoo.com ptr:yahoo.net ?all it is fail on this line why, other mail server accept my mail and pass to spf check but, it lib fail?

https://github.com/albertito/spf/blob/3731c77a3e96a57212e32af95c22e37368df0807/spf.go#L385

albertito commented 1 month ago

Hi Parthka!

Unfortunately, I'll need a bit more information to understand why the check is failing: at least the IP address of the sender, and the domain in question.

You can also use some public checkers to verify your configuration, for example:

Also, how is Yahoo's spf record related to your problem?

Thank you!