DKIM: use Exim native memoory management
[users/jgh/exim.git] / test / confs / 0037
1 # Exim test configuration 0037
2
3 FILTER_PREPEND_HOME=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12 tls_advertise_hosts =
13
14 # ----- Main settings -----
15
16 message_body_visible = 20
17 qualify_domain = test.ex
18 freeze_tell = postmaster
19 system_filter = DIR/aux-var/TESTNUM.F
20 system_filter_reply_transport = address_reply
21 trusted_users = CALLER
22
23
24 # ----- Routers -----
25
26 begin routers
27
28 check_vars:
29   driver = accept
30   local_parts = dff
31   headers_add = original_domain=$original_domain\n  \
32                 original_local_part=$original_local_part\n  \
33                 parent_domain=$parent_domain\n  \
34                 parent_local_part=$parent_local_part
35   transport = appendfile
36   user = CALLER
37
38 fail_read_filter:
39   driver = redirect
40   local_parts = readfile
41   allow_filter
42   file = DIR/aux-var/TESTNUM.f-readfile
43   user = CALLER
44
45 prepend_filter:
46   driver = redirect
47   local_parts = prepend
48   allow_filter
49   router_home_directory = /usr
50   file = DIR/aux-fixed/TESTNUM.f-7
51   file_transport = appendfile
52   user = CALLER
53   FILTER_PREPEND_HOME
54
55 userfilter:
56   driver = redirect
57   allow_filter
58   user = CALLER
59   no_check_local_user
60   router_home_directory = /usr
61   debug_print = \$home = >$home<
62   file = DIR/aux-var/TESTNUM.f-user
63   forbid_file
64   forbid_filter_existstest
65   forbid_filter_lookup
66   forbid_filter_readfile
67   forbid_filter_run
68   forbid_pipe
69   local_parts = ^filter-
70   retry_use_local_part
71   reply_transport = address_reply
72
73 user_accept1:
74   driver = accept
75   local_parts = userz : abcd : postmaster
76   retry_use_local_part
77   transport = appendfile
78   user = CALLER
79
80 user_accept2:
81   driver = accept
82   local_parts = userx : CALLER
83   transport = appendfile
84
85
86 # ----- Transports -----
87
88 begin transports
89
90 appendfile:
91   driver = appendfile
92   delivery_date_add
93   envelope_to_add
94   file = DIR/test-mail/$local_part
95   return_path_add
96   user = CALLER
97
98 address_reply:
99   driver = autoreply
100   never_mail = never_mail@test.ex
101   user = CALLER
102   initgroups
103
104 # End