DANE: Fix 2 messages from queue case
[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.${bless:$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/${bless:$local_part}
84   return_path_add
85   headers_add = X-local_part: $local_part\n\
86                 X-local_part_prefix: $local_part_prefix\n\
87                 X-local_part_prefix_v: $local_part_prefix_v
88
89 local_delivery_b:
90   driver = appendfile
91   user = CALLER
92   delivery_date_add
93   envelope_to_add
94   file = DIR/test-mail/${bless:$local_part}
95   return_path_add
96   use_bsmtp
97   headers_add = X-local_part: $local_part\n\
98                 X-local_part_prefix: $local_part_prefix\n\
99                 X-local_part_prefix_v: $local_part_prefix_v
100
101 delivery_s:
102   driver = smtp
103   hosts = 127.0.0.1
104   port = PORT_S
105   hosts_try_fastopen = :
106   allow_localhost
107
108 address_reply:
109   driver = autoreply
110
111 address_pipe:
112   driver = pipe
113
114 # End