summaryrefslogtreecommitdiff
path: root/test/scripts/4600-SPF/4601
blob: 72ef10d3f67ab6b299af015175ea492864d6510a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# lookup string-expansion
#
exim -bd -DSERVER=server -oX PORT_D:PORT_S
****
client 127.0.0.1 PORT_D
??? 220
helo testclient
??? 250
mail from:<a@example.com>
??? 250
rcpt to:<fred@test.ex>
??? 250
quit
****
client 127.0.0.1 PORT_S
??? 220
helo testclient
??? 250
mail from:<b@example.com>
??? 250
rcpt to:<fred@test.ex>
??? 250
quit
****
#
killdaemon
#
# SERVFAIL -> temperror
# A multiple spf-RR return should get permerror
# - and not crash with non-spf txt records
# v=spf1 is casr-insensitive
exim -be
${lookup {fred@test.again.dns} spf {HOSTIPV4}}
${lookup {fred@double.example.com} spf {8.8.8.8}}
${lookup {fred@doubleplus.example.com} spf {8.8.8.8}}
${lookup {fred@uppercase.example.com} spf {HOSTIPV4}}
****