summaryrefslogtreecommitdiff
path: root/test/confs/0051
blob: d5fca864cc59693a7df38431a06fcb6d58e166a6 (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
# Exim test configuration 0051

.include DIR/aux-var/std_conf_prefix

trusted_users = CALLER
primary_hostname = myhost.ex

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

domainlist local_domains = test.ex : \
    myhost.ex : \
    bad.ex : \
    DIR/aux-fixed/TESTNUM.domains : \
    lsearch;DIR/aux-fixed/TESTNUM.notdomains


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

begin routers

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

localuser:
  driver = accept
  local_parts = userx : CALLER
  domains = test.ex : DIR/aux-fixed/TESTNUM.domains :\
            !lsearch;DIR/aux-fixed/TESTNUM.notdomains : !bad.ex
  transport = local_delivery


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

begin transports

local_delivery:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  return_path_add
  user = CALLER

# End