Support Rspamd. Patch from Andrew Lewis, lightly editorialised
[users/jgh/exim.git] / test / scripts / 9400-local_scan / 9402
1 # local_scan() smtp_printf() and smtp_fflush()
2 need_ipv4
3 #
4 exim -DSERVER=server -bd -oX PORT_D
5 ****
6 client -t2 127.0.0.1 PORT_D
7 ??? 220
8 ehlo foobar
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250
13 mail from:<test-local-scan@y>
14 ??? 250
15 rcpt to:<x@y>
16 ??? 250
17 data
18 ??? 354
19 local-scan: reject rhubarb rhubarb
20 .
21 ??? 550
22 mail from:<test-local-scan@y>
23 ??? 250
24 rcpt to:<x@y>
25 ??? 250
26 data
27 ??? 354
28 local-scan: teergrube
29 .
30 ??? 550-
31 ??? 550-
32 ****
33 # Wait because of the teergrube
34 sleep 3
35 killdaemon
36 no_msglog_check