Merge branch 'master' of ssh://git.exim.org/home/git/exim
[exim.git] / test / scripts / 0000-Basic / 0098
CommitLineData
59371ea7
PH
1# warning messages
2need_ipv4
3#
4exim -odi userx@test.ex defer@test.ex
5Test message
6****
7# -Tqt 11s/ sets the queue time for the message to 11s when deciding
8# on warnings.
9exim -Tqt 11s/ -odi -qf
10****
11exim -odi defer@test.ex defer@another.test.ex
12Test message
13****
14exim -Tqt 20s/13s/ -odi -qf
15****
16exim -odi xxxx@some.domain
17Test message
18****
19exim -Tqt 41s/15s/8s/ -odi -qf
20****
21exim -odi yyyy@connection.refused
22Nother test
23****
24exim -Tqt 42s/16s/9s/5s/ -odi -q
25****
26sleep 3
27exim -Tqt 42s/16s/9s/5s/ -odi -q
28****
29# Now test with custom file
30exim -Tqt 12m/45s/45s/11s/ -DWMF=warn_message_file=DIR/aux-fixed/TESTNUM.wmf -odi -qf
31****
32# Remove the previous 4 messages
33exim -Mrm $msg1 $msg2 $msg3 $msg4
34****
35# Check no warnings for non-warn domain
36exim -odi defer@another.test.ex
37Testing
38****
39exim -Tqt 20s/ -odi -qf
40****
5dff5817
PH
41# Remove the previous message
42exim -Mrm $msg1
43****
44# Check no warnings for Precedence: list (in default config)
45exim -odi defer@test.ex
46Precedence: list
47Test message
48****
49exim -DDEFAULTDWC -Tqt 20s/ -odi -qf
50****
51# Remove the previous message
52exim -Mrm $msg1
53****
54# Check no warnings for Auto-Submitted: auto-generated (in default config)
55exim -odi defer@test.ex
56Auto-Submitted: auto-generated
57Test message
58****
59exim -DDEFAULTDWC -Tqt 20s/ -odi -qf
60****
e85a7ad5
PH
61# Remove the previous message
62exim -Mrm $msg1
63****
64# Check no warnings for List-id: (in default config)
65exim -odi defer@test.ex
66List-ID: Some data
67Test message
68****
69exim -DDEFAULTDWC -Tqt 20s/ -odi -qf
70****
59371ea7 71no_msglog_check