tidying
[exim.git] / test / scripts / 0000-Basic / 0604
1 # log_selector msg_id and msg_id_created
2 #
3 # msg_id is on by default; check baseline
4 exim -DLOG_SELECTOR=+received_recipients -t
5 From: CALLER@test.ex
6 To: a@test.ex
7 Message-ID: original1235@example.com
8
9 body
10 ****
11 #
12 # check for 822-rules for domain-listeral in Message_ID:
13 exim -DLOG_SELECTOR=+received_recipients -t
14 From: CALLER@test.ex
15 To: a2@test.ex
16 Message-ID: original1235@[foobar]
17
18 body
19 ****
20 #
21 # msg_id is on by default; check it can be disabled
22 exim -DLOG_SELECTOR=+received_recipients-msg_id -t
23 From: CALLER@test.ex
24 To: b@test.ex
25 Message-ID: original1235@example.com
26
27 body
28 ****
29 #
30 # check msg_id_created shows invented ones
31 exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t
32 From: CALLER@test.ex
33 To: c@test.ex
34
35 body
36 ****
37 #
38 # check msg_id_created ignores non-invented ones
39 exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t
40 From: CALLER@test.ex
41 To: d@test.ex
42 Message-ID: original1235@example.com
43
44 body
45 ****
46 #
47 # check that bounces don't log created, by default
48 exim -DLOG_SELECTOR=+received_recipients -M $msg1
49 ****
50 # and check they do with msg_id_created
51 exim -DLOG_SELECTOR=+received_recipients+msg_id_created -M $msg1
52 ****
53 #
54 no_msglog_check