Truncate delay when peer closes connection. Bug 348
[exim.git] / test / scripts / 4000-scanning / 4004
1 # content scan interface: sophie
2 #
3 server DIR/eximdir/sophie_sock
4 </
5 >0 no problems mate
6 *eof
7 ****
8 #
9 #
10 #
11 exim -odi -bs -DOPT=
12 ehlo test.ex
13 mail from:<>
14 rcpt to:<userx@test.ex>
15 data
16 Date: Fri, 17 Dec 2004 14:35:01 +0100
17 Subject: message should be accepted
18
19 .
20 quit
21 ****
22 #
23 #
24 #
25 server DIR/eximdir/sophie_sock
26 </
27 >-1 oops, internal error in scanner
28 *eof
29 ****
30 #
31 #
32 #
33 exim -odi -bs -DOPT=
34 ehlo test.ex
35 mail from:<>
36 rcpt to:<userx@test.ex>
37 data
38 Date: Fri, 17 Dec 2004 14:35:01 +0100
39 Subject: defer this one
40
41 .
42 quit
43 ****
44 #
45 #
46 #
47 server DIR/eximdir/sophie_sock
48 </
49 >LF>1 VNAME
50 *eof
51 ****
52 #
53 #
54 #
55 exim -odi -bs -DOPT=/defer_ok
56 ehlo test.ex
57 mail from:<>
58 rcpt to:<userx@test.ex>
59 data
60 Date: Fri, 17 Dec 2004 14:35:01 +0100
61 Subject: message should be rejected
62
63 .
64 quit
65 ****
66 #
67 #
68 #
69 server DIR/eximdir/sophie_sock
70 *sleep 3
71 ****
72 #
73 #
74 #
75 exim -odi -bs -DOPT=/tmo=2s
76 ehlo test.ex
77 mail from:<>
78 rcpt to:<userx@test.ex>
79 data
80 Date: Fri, 17 Dec 2004 14:35:01 +0100
81 Subject: message should be tmp-rejected due to timeout
82
83 .
84 quit
85 ****
86 #
87 #
88 #
89 server DIR/eximdir/sophie_sock
90 *sleep 3
91 ****
92 #
93 #
94 #
95 exim -odi -bs -DOPT=/tmo=2s/defer_ok
96 ehlo test.ex
97 mail from:<>
98 rcpt to:<userx@test.ex>
99 data
100 Date: Fri, 17 Dec 2004 14:35:01 +0100
101 Subject: message should be accepted destpite timeout
102
103 .
104 quit
105 ****