Testcase for handling of -H files for excessive long '-KEY' lines
[users/jgh/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 mail from:<userx@broken.example>
16 quit
17 ****
18 # Now do a recipient verify for the same domain, with use_sender
19 server PORT_S
20 220 Welcome
21 EHLO
22 250 Hi
23 MAIL FROM
24 250 OK
25 RCPT TO
26 250 OK
27 QUIT
28 221 Bye
29 ****
30 exim -bs
31 mail from:<userx@ok.example>
32 rcpt to:<usery@broken.example>
33 quit
34 ****
35 # A final check that the cache works for sender address
36 exim -bs
37 mail from:<userx@broken.example>
38 quit
39 ****