More care with headers add/remove lists. Bug 1452
[users/jgh/exim.git] / test / confs / 0097
1 # Exim test configuration 0097
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 qualify_domain = test.ex
14
15
16 # ----- Routers -----
17
18 begin routers
19
20 localuser:
21   driver = accept
22   local_parts = userx
23   headers_add = "${if def:h_x-rbl-warning: {Added: by router}}"
24   # Colon-sep list!
25   headers_remove = "${if def::h_x-rbl-warning:: {subject}}"
26   transport = local_delivery
27
28
29 # ----- Transports -----
30
31 begin transports
32
33 local_delivery:
34   driver = appendfile
35   delivery_date_add
36   envelope_to_add
37   file = DIR/test-mail/$local_part
38   headers_add = "${if def:h_tadd: {Added: by transport}}"
39   headers_remove = "${if def::h_tadd:: {tadd}}"
40   return_path_add
41   user = CALLER
42
43
44 # ----- Retry -----
45
46
47 begin retry
48
49 * * F,2d,15m
50
51
52 # End