name: Redirect records: spf: example.net v=spf1 ip4:192.168.1.3 ~all spf: example.org v=spf1 ip4:192.168.1.2 redirect=example.net spf: test.org v=spf1 redirect=example.org spf: match.test.org v=spf1 ip4:10.0.0.1 redirect=example.org tests: - domain: test.org sender: sender@test.org ip: 192.168.1.2 expect: pass - domain: test.org sender: sender@test.org ip: 192.168.1.3 expect: pass - domain: test.org sender: sender@test.org ip: 192.168.1.4 expect: softfail - domain: match.test.org sender: sender@match.test.org ip: 10.0.0.1 expect: pass --- name: Redirect loop records: spf: test.org v=spf1 redirect=test.org tests: - domain: test.org sender: sender@test.org ip: 192.168.1.2 expect: permerror --- name: Redirect not found records: spf: test.org v=spf1 redirect=unknown.test.org tests: - domain: test.org sender: sender@test.org ip: 192.168.1.2 expect: permerror