Testsuite: fix munge for mailq
[exim.git] / test / scripts / 0000-Basic / 0538
1 # callout for recipient/use_sender after mail from:<> rejection
2 need_ipv4
3 #
4 # Do a sender address verify that rejects MAIL FROM:<>
5 server PORT_S
6 220 Welcome
7 EHLO
8 250 Hi
9 MAIL FROM
10 550 I'm misconfigured
11 QUIT
12 221 Bye
13 ****
14 exim -bs
15 helo test
16 mail from:<userx@broken.example>
17 quit
18 ****
19 # Now do a recipient verify for the same domain, with use_sender
20 server PORT_S
21 220 Welcome
22 EHLO
23 250 Hi
24 MAIL FROM
25 250 OK
26 RCPT TO
27 250 OK
28 QUIT
29 221 Bye
30 ****
31 exim -bs
32 helo test
33 mail from:<userx@ok.example>
34 rcpt to:<usery@broken.example>
35 quit
36 ****
37 # A final check that the cache works for sender address
38 exim -bs
39 helo test
40 mail from:<userx@broken.example>
41 quit
42 ****