summaryrefslogtreecommitdiff
path: root/test/confs/0297
blob: b07fc54cbbaf3a258ab5e65e8c887de583962711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Exim test configuration 0297

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

# ----- Main settings -----

system_filter = DIR/aux-fixed/TESTNUM.Filter
system_filter_file_transport = ${if eq {$address_file}{/a/b/c}{tf1}{tf2}}
system_filter_directory_transport = ${if match{$address_file}{//\$}{td2}{td1}}
trusted_users = CALLER

# ------ Routers ------

begin routers

r1:
  driver = redirect
  data = $local_part
  file_transport = ${if eq {$address_file}{/a/b/c}{tf1}{tf2}}
  directory_transport = ${if match{$address_file}{//\$}{td2}{td1}}
  user = CALLER


# ------ Transports ------

begin transports

tf1:
  driver = appendfile
  user = CALLER

tf2:
  driver = appendfile
  user = CALLER

td1:
  driver = appendfile
  user = CALLER

td2:
  driver = appendfile
  user = CALLER

# End