summaryrefslogtreecommitdiff
path: root/test/confs/0297
blob: 8e692b69005a90635b99f67819fe1a436f4dbf5c (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
47
48
49
50
51
# Exim test configuration 0297

exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
tls_advertise_hosts =

# ----- 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