summaryrefslogtreecommitdiff
path: root/test/scripts/9400-local_scan/9402
blob: a4345acceb3a6c16716ce03203938521128020c2 (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
# local_scan() smtp_printf() and smtp_fflush()
need_ipv4
#
exim -DSERVER=server -bd -oX PORT_D
****
client -t2 127.0.0.1 PORT_D
??? 220
ehlo foobar
??? 250-
??? 250-
??? 250-
??? 250
mail from:<test-local-scan@y>
??? 250
rcpt to:<x@y>
??? 250
data
??? 354
local-scan: reject rhubarb rhubarb
.
??? 550
mail from:<test-local-scan@y>
??? 250
rcpt to:<x@y>
??? 250
data
??? 354
local-scan: teergrube
.
??? 550-
??? 550-
****
# Wait because of the teergrube
sleep 3
killdaemon
no_msglog_check