The Date: and Message-Id: headers should normally be *appended* to a message,
[exim.git] / test / scripts / 0000-Basic / 0536
1 # Specifying SMTP codes in bespoke error messages
2 exim -bs
3 ehlo test.ex
4 mail from:<>
5 rcpt to:<user1@test.ex>
6 rcpt to:<user2@test.ex>
7 rcpt to:<user3@test.ex>
8 rcpt to:<user4@test.ex>
9 rcpt to:<user5@test.ex>
10 rcpt to:<user6@test.ex>
11 rcpt to:<user7@test.ex>
12 rcpt to:<user8@test.ex>
13 rcpt to:<user9@test.ex>
14 rcpt to:<user10@test.ex>
15 rcpt to:<user20@test.ex>
16 rcpt to:<user21@test.ex>
17 rcpt to:<user22@test.ex>
18 rcpt to:<user23@test.ex>
19 rcpt to:<user30@test.ex>
20 rcpt to:<user31@test.ex>
21 rcpt to:<user32@test.ex>
22 rcpt to:<user33@test.ex>
23 quit
24 ****
25 1
26 exim -f user1@test.ex user1
27 ****
28 1
29 exim -f user2@test.ex user1
30 ****
31 exim -odi -f oksender@test.ex user22@test.ex
32 ****
33 exim -DFORBID_SMTP_CODE=true -bs
34 ehlo test.ex
35 mail from:<>
36 rcpt to:<user20@test.ex>
37 rcpt to:<user21@test.ex>
38 rcpt to:<user22@test.ex>
39 rcpt to:<user23@test.ex>
40 quit
41 ****
42 no_msglog_check