Testsuite: regression-test for bug. Bug 2449
[exim.git] / test / scripts / 0000-Basic / 0619
CommitLineData
049782c0
JH
1# log_selector msg_id and msg_id_created
2#
3# msg_id is on by default; check baseline
4exim -DLOG_SELECTOR=+received_recipients -t
5From: CALLER@test.ex
6To: a@test.ex
7Message-ID: original1235@example.com
8
9body
10****
11#
12# msg_id is on by default; check it can be disabled
13exim -DLOG_SELECTOR=+received_recipients-msg_id -t
14From: CALLER@test.ex
15To: b@test.ex
16Message-ID: original1235@example.com
17
18body
19****
20#
21# check msg_id_created shows invented ones
22exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t
23From: CALLER@test.ex
24To: c@test.ex
25
26body
27****
28#
29# check msg_id_created ignores non-invented ones
30exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t
31From: CALLER@test.ex
32To: d@test.ex
33Message-ID: original1235@example.com
34
35body
36****
37#
38# check that bounces don't log created, by default
39exim -DLOG_SELECTOR=+received_recipients -M $msg1
40****
41# and check they do with msg_id_created
42exim -DLOG_SELECTOR=+received_recipients+msg_id_created -M $msg1
43****
44#
45no_msglog_check