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