4 exim -odi userx@test.ex defer@test.ex
7 # -Tqt 11s/ sets the queue time for the message to 11s when deciding
9 exim -Tqt 11s/ -odi -qf
11 exim -odi defer@test.ex defer@another.test.ex
14 exim -Tqt 20s/13s/ -odi -qf
16 exim -odi xxxx@some.domain
19 exim -Tqt 41s/15s/8s/ -odi -qf
21 exim -odi yyyy@connection.refused
24 exim -Tqt 42s/16s/9s/5s/ -odi -q
27 exim -Tqt 42s/16s/9s/5s/ -odi -q
29 # Now test with custom file
30 exim -Tqt 12m/45s/45s/11s/ -DWMF=warn_message_file=DIR/aux-fixed/TESTNUM.wmf -odi -qf
32 # Remove the previous 4 messages
33 exim -Mrm $msg1 $msg2 $msg3 $msg4
35 # Check no warnings for non-warn domain
36 exim -odi defer@another.test.ex
39 exim -Tqt 20s/ -odi -qf
41 # Remove the previous message
44 # Check no warnings for Precedence: list (in default config)
45 exim -odi defer@test.ex
49 exim -DDEFAULTDWC -Tqt 20s/ -odi -qf
51 # Remove the previous message
54 # Check no warnings for Auto-Submitted: auto-generated (in default config)
55 exim -odi defer@test.ex
56 Auto-Submitted: auto-generated
59 exim -DDEFAULTDWC -Tqt 20s/ -odi -qf
61 # Remove the previous message
64 # Check no warnings for List-id: (in default config)
65 exim -odi defer@test.ex
69 exim -DDEFAULTDWC -Tqt 20s/ -odi -qf
76 # Check we do get a warn messsage, containing the remote SMTP response, for a remote defer
77 exim -bd -DSERVER=server -oX PORT_D
79 exim -odi rrrr@remote.defer
80 Subject: testing a remote defer
85 exim -Tqt 11s/ -odi -q