mox/spf
Mechiel Lukkien 30c79faff2
fix problem with spf where we would generate errors about too many void lookups
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).
2023-03-03 11:45:19 +01:00
..
parse.go mox! 2023-01-30 14:27:06 +01:00
parse_test.go mox! 2023-01-30 14:27:06 +01:00
received.go mox! 2023-01-30 14:27:06 +01:00
received_test.go mox! 2023-01-30 14:27:06 +01:00
spf.go fix problem with spf where we would generate errors about too many void lookups 2023-03-03 11:45:19 +01:00
spf_test.go mox! 2023-01-30 14:27:06 +01:00