summaryrefslogtreecommitdiff
path: root/test/scripts/4000-scanning/4007
blob: 9684056a05f63545e343a2dd2ae93f7dd2cdb2f6 (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
# content scan interface: cmdline
#
#
exim -DOPT=accept -odi -bs -DINSERT=
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
Subject: message should be accepted

.
quit
****
#
#
# the defer_ok should not prevent rejection
#
exim -DOPT=reject -odi -bs -DINSERT="/defer_ok"
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
Subject: message should be rejected

.
quit
****
#
#
#
exim -DOPT=pause3 -odi -bs -DINSERT="/tmo=2s"
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
Subject: message should be tmp-rejected due to timeout

.
quit
****
#
#
#
exim -DOPT=pause3 -odi -bs -DINSERT="/tmo=2s/defer_ok"
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
Subject: message should be accepted despite a timeout

.
quit
****