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