summaryrefslogtreecommitdiff
path: root/test/confs/4600
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-03-25 17:14:41 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-03-25 17:14:41 +0100
commit42fab76535e6e0aa7fc722cde1e24afc2c4cca1f (patch)
tree79c0abbfcd22cd9d9b3b81a38f73f4ce92c2d4cb /test/confs/4600
parent40394cc11a826278cef2e205313f9339ca90d16d (diff)
Testsuite: for SPF tests, avoid using the ipv4 address
Diffstat (limited to 'test/confs/4600')
-rw-r--r--test/confs/46004
1 files changed, 2 insertions, 2 deletions
diff --git a/test/confs/4600 b/test/confs/4600
index cce583909..a566535cd 100644
--- a/test/confs/4600
+++ b/test/confs/4600
@@ -11,7 +11,7 @@ acl_smtp_rcpt = check_rcpt
begin acl
check_rcpt:
- accept hosts = HOSTIPV4
+ accept condition = ${if eq {$received_port}{PORT_D}}
spf_guess = pass
logwrite = spf_result $spf_result (guess <$spf_result_guessed>)
logwrite = spf_header_comment $spf_header_comment
@@ -19,7 +19,7 @@ check_rcpt:
logwrite = spf_received $spf_received
logwrite = ${authresults {$primary_hostname}}
- accept hosts = 127.0.0.1
+ accept condition = ${if eq {$received_port}{PORT_S}}
spf = pass : softfail : neutral
logwrite = spf_result $spf_result
logwrite = spf_header_comment $spf_header_comment