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