FreeBSD: fix sendfile shim
[exim.git] / test / scripts / 0000-Basic / 0619
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 # msg_id is on by default; check it can be disabled
13 exim -DLOG_SELECTOR=+received_recipients-msg_id -t
14 From: CALLER@test.ex
15 To: b@test.ex
16 Message-ID: original1235@example.com
17
18 body
19 ****
20 #
21 # check msg_id_created shows invented ones
22 exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t
23 From: CALLER@test.ex
24 To: c@test.ex
25
26 body
27 ****
28 #
29 # check msg_id_created ignores non-invented ones
30 exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t
31 From: CALLER@test.ex
32 To: d@test.ex
33 Message-ID: original1235@example.com
34
35 body
36 ****
37 #
38 # check that bounces don't log created, by default
39 exim -DLOG_SELECTOR=+received_recipients -M $msg1
40 ****
41 # and check they do with msg_id_created
42 exim -DLOG_SELECTOR=+received_recipients+msg_id_created -M $msg1
43 ****
44 #
45 no_msglog_check