summaryrefslogtreecommitdiff
path: root/test/confs/0085
blob: 25eea9e903f0bb65b8fb094448f1f7fc2f2c1b05 (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
52
# Exim test configuration 0085

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

domainlist local_domains = test.ex : \
    myhost.test.ex


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

begin routers

smart1:
  driver = manualroute
  caseful_local_part
  domains = smart.domain
  local_parts = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}}
  route_list = *
  senders = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}}
  verify_only

fail_remote_domains:
  driver = redirect
  domains = ! +local_domains
  allow_fail
  data = :fail: unrouteable mail domain "$domain"

smart2:
  driver = accept
  domains = test.ex
  local_parts = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}}
  require_files = ${lookup{$domain.files}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}}
  retry_use_local_part
  senders = ${lookup{$domain}lsearch{DIR/aux-fixed/TESTNUM.data}{$value}}
  transport = dummy
  verify_only


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

begin transports

dummy:
  driver = appendfile
  user = CALLER


# End