3 exim -DOPT='-1s' -bh 127.0.0.1
5 MAIL FROM:<tester@test.ex>
9 # Check that a hints DB was created.
10 # Only the key is useful thanks to munging; should match the IP used above.
14 # should now see old-enough record
15 exim -DOPT='-1s' -bh 127.0.0.1
17 MAIL FROM:<tester@test.ex>
21 # force an update (visible via debug output in stdout for -bh)
22 exim -DOPT='-1s / write' -bh 127.0.0.1
24 MAIL FROM:<tester@test.ex>
28 # default key should change with ip
29 exim -DOPT='-1s' -bh HOSTIPV4
31 MAIL FROM:<tester@test.ex>
36 # explicit key (also checking expansion)
37 exim -DOPT='-1s / key=${sender_host_address}_foo' -bh 127.0.0.1
39 MAIL FROM:<tester@test.ex>
46 exim -DOPT='-1s / refresh=1s' -bh 127.0.0.1
48 MAIL FROM:<tester@test.ex>
57 # test for seen-more-recently-than
58 # that previous one should be no older than 5s, so this should pass
60 # check list-parsing spaceless while we're here
61 exim -DOPT='5s/key=${sender_host_address}_foo/readonly' -bh 127.0.0.1
63 MAIL FROM:<tester@test.ex>
67 # check the above no-update by waiting longer than the later-than interval; should fail
70 exim -DOPT='1s / key=${sender_host_address}_foo' -bh 127.0.0.1
72 MAIL FROM:<tester@test.ex>
76 # having updated, should pass
77 exim -DOPT='1s / key=${sender_host_address}_foo' -bh 127.0.0.1
79 MAIL FROM:<tester@test.ex>