Add the add_header modifier for use with all ACL verbs.
[users/heiko/exim.git] / test / confs / 0037
1 # Exim test configuration 0037
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 message_body_visible = 20
14 qualify_domain = test.ex
15 freeze_tell = postmaster
16 system_filter = DIR/aux-var/TESTNUM.F
17 system_filter_reply_transport = address_reply
18 trusted_users = CALLER
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 check_vars:
26   driver = accept
27   local_parts = dff
28   headers_add = original_domain=$original_domain\n  \
29                 original_local_part=$original_local_part\n  \
30                 parent_domain=$parent_domain\n  \
31                 parent_local_part=$parent_local_part
32   transport = appendfile
33   user = CALLER
34
35 fail_read_filter:
36   driver = redirect
37   local_parts = readfile
38   allow_filter
39   file = DIR/aux-var/TESTNUM.f-readfile
40   user = CALLER
41
42 userfilter:
43   driver = redirect
44   allow_filter
45   user = CALLER
46   no_check_local_user
47   router_home_directory = /usr
48   debug_print = \$home = >$home<
49   file = DIR/aux-var/TESTNUM.f-user
50   forbid_file
51   forbid_filter_existstest
52   forbid_filter_lookup
53   forbid_filter_readfile
54   forbid_filter_run
55   forbid_pipe
56   local_parts = ^filter-
57   retry_use_local_part
58   reply_transport = address_reply
59
60 user_accept1:
61   driver = accept
62   local_parts = userz : abcd : postmaster
63   retry_use_local_part
64   transport = appendfile
65   user = CALLER
66
67 user_accept2:
68   driver = accept
69   local_parts = userx : CALLER
70   transport = appendfile
71
72
73 # ----- Transports -----
74
75 begin transports
76
77 appendfile:
78   driver = appendfile
79   delivery_date_add
80   envelope_to_add
81   file = DIR/test-mail/$local_part
82   return_path_add
83   user = CALLER
84
85 address_reply:
86   driver = autoreply
87   never_mail = never_mail@test.ex
88   user = CALLER
89   initgroups
90
91 # End