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

.include DIR/aux-var/std_conf_prefix


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

primary_hostname = mail.test.ex
qualify_domain = test.ex


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

begin routers

r1:
  driver =		redirect
  domains =		    ${domain:${lookup {$local_part@$domain} lsearch,ret=key {DIR/aux-fixed/TESTNUM.accountfile}}}
  local_parts =		${local_part:${lookup {$local_part@$domain} lsearch,ret=key {DIR/aux-fixed/TESTNUM.accountfile}}}
  file_transport =	t1
  data =		DIR/test-mail/junk
  debug_print = +++ROUTER:\n\
                +++domain_data=$domain_data\n\
                +++local_part_data=$local_part_data

r2:
  driver =		redirect
  domains =		lsearch;DIR/aux-fixed/TESTNUM.data
  local_parts =		lsearch;DIR/aux-fixed/TESTNUM.data
  address_data =	ADDRESSDATA
  file_transport =	t1
  data =		DIR/test-mail/junk
  router_home_directory =	/usr
  debug_print = +++ROUTER:\n\
                +++domain_data=$domain_data\n\
                +++local_part_data=$local_part_data\n\
                +++address_data=$address_data\n\
                +++home=$home

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

begin transports

t1:
  driver = appendfile
  user = CALLER
  debug_print = +++TRANSPORT:\n\
                +++domain_data=$domain_data\n\
                +++local_part_data=$local_part_data\n\
                +++address_data=$address_data\n\
                +++home=$home

# End