Fix bounce generation under RFC 3461 request. Bug 2411
[exim.git] / test / confs / 0015
1 # Exim test configuration 0015
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9
10
11 # ----- Routers -----
12
13 begin routers
14
15 convert_to_real_name:
16   driver = redirect
17   allow_defer
18   data = "\
19     $local_part_prefix${lookup{$local_part}\
20     lsearch{DIR/aux-fixed/0015.realnames}{$value}fail}@$domain"
21   local_part_prefix = *+
22   local_part_prefix_optional
23   retry_use_local_part
24
25 #system_aliases:
26 #  driver = redirect
27 #  allow_defer
28 #  data = ${lookup{$local_part}lsearch{DIR/aux-fixed/0015.aliases}}
29 #  retry_use_local_part
30
31 userforward:
32   driver = redirect
33   allow_filter
34   local_parts = userx
35   user = CALLER
36   file = DIR/aux-fixed/0015.filter.$local_part
37   local_part_prefix = *+
38   local_part_prefix_optional
39   pipe_transport = address_pipe
40   reply_transport = address_reply
41
42 localuser_b:
43   driver = accept
44   local_parts = userx : CALLER
45   local_part_prefix = B+
46   transport = local_delivery_b
47
48 localuser_s:
49   driver = accept
50   local_part_prefix = S+
51   transport = delivery_s
52
53 localuser_sb:
54   driver = accept
55   local_parts = userx : CALLER
56   local_part_prefix = *+
57   local_part_prefix_optional
58   local_part_suffix = -B
59   transport = local_delivery_b
60
61 localuser_ss:
62   driver = accept
63   local_part_suffix = -S
64   transport = delivery_s
65
66 localuser:
67   driver = accept
68   local_parts = userx : CALLER
69   local_part_prefix = *+
70   local_part_prefix_optional
71   transport = local_delivery
72
73
74 # ----- Transports -----
75
76 begin transports
77
78 local_delivery:
79   driver = appendfile
80   user = CALLER
81   delivery_date_add
82   envelope_to_add
83   file = DIR/test-mail/$local_part
84   return_path_add
85   headers_add = X-local_part: $local_part\n\
86                 X-local_part_prefix: $local_part_prefix
87
88 local_delivery_b:
89   driver = appendfile
90   user = CALLER
91   delivery_date_add
92   envelope_to_add
93   file = DIR/test-mail/$local_part
94   return_path_add
95   use_bsmtp
96   headers_add = X-local_part: $local_part\n\
97                 X-local_part_prefix: $local_part_prefix
98
99 delivery_s:
100   driver = smtp
101   hosts = 127.0.0.1
102   port = PORT_S
103   allow_localhost
104
105 address_reply:
106   driver = autoreply
107
108 address_pipe:
109   driver = pipe
110
111 # End