Testsuite: for SPF tests, avoid using the ipv4 address
[exim.git] / test / confs / 4600
CommitLineData
743c4c9f
JH
1# Exim test configuration 4600
2
743c4c9f
JH
3.include DIR/aux-var/std_conf_prefix
4
5primary_hostname = myhost.test.ex
6
7# ----- Main settings -----
8
9acl_smtp_rcpt = check_rcpt
10
743c4c9f
JH
11begin acl
12
13check_rcpt:
42fab765 14 accept condition = ${if eq {$received_port}{PORT_D}}
743c4c9f 15 spf_guess = pass
87e9d061 16 logwrite = spf_result $spf_result (guess <$spf_result_guessed>)
743c4c9f
JH
17 logwrite = spf_header_comment $spf_header_comment
18 logwrite = spf_smtp_comment $spf_smtp_comment
19 logwrite = spf_received $spf_received
dfbcb5ac 20 logwrite = ${authresults {$primary_hostname}}
743c4c9f 21
42fab765 22 accept condition = ${if eq {$received_port}{PORT_S}}
743c4c9f
JH
23 spf = pass : softfail : neutral
24 logwrite = spf_result $spf_result
25 logwrite = spf_header_comment $spf_header_comment
26 logwrite = spf_smtp_comment $spf_smtp_comment
27 logwrite = spf_received $spf_received
dfbcb5ac 28 logwrite = ${authresults {$primary_hostname}}
743c4c9f
JH
29
30 deny
87e9d061 31 logwrite = spf_result $spf_result (guess <$spf_result_guessed>)
743c4c9f
JH
32 logwrite = spf_header_comment $spf_header_comment
33 logwrite = spf_smtp_comment $spf_smtp_comment
34 logwrite = spf_received $spf_received
dfbcb5ac 35 logwrite = ${authresults {$primary_hostname}}
743c4c9f
JH
36
37# End