mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 00:13:47 +03:00
30c79faff2
the problem was that we only looked up either the ipv4 or ipv6 address when evaluating spf directives, depending on the incoming smtp connection. for example, for spf directive "a", we would lookup the requested domain. if that domain has an ipv4 address but no ipv6 address, and the incoming connection is ipv6, we would count a void lookup. but we shouldn't: there is a record for that name, it just doesn't match the address (family). |
||
---|---|---|
.. | ||
parse.go | ||
parse_test.go | ||
received.go | ||
received_test.go | ||
spf.go | ||
spf_test.go |