summaryrefslogtreecommitdiff
path: root/test/confs/0085
blob: efd52533c25a2ffabd9c4bd282a1b3146456fe68 (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
53
54
55
56
57
# Exim test configuration 0085

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

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