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