Add $router_name and $transport_name variables. Bug 308.
[exim.git] / test / confs / 0243
1 # Exim test configuration 0243
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_recipient
15
16 domainlist local_domains = nl.demon.net
17 qualify_domain = nl.demon.net
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25   deny    message = unrouteable address
26          !verify = recipient
27   accept  domains = +local_domains
28   deny    message = relay not permitted
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 auto_antwoord:
36   driver = accept
37   domains = *.demon.net
38   require_files = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
39   retry_use_local_part
40   transport = stuur_auto_antwoord
41   unseen
42
43 algemeen_aliases:
44   driver = redirect
45   allow_defer
46   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.algemeen}}
47   domains = "nl.demon.net:*.nl.demon.net:fax-gw.demon.nl: \
48              www-3.demon.nl : localhost"
49   file_transport = address_file
50   group = EXIMGROUP
51   pipe_transport = address_pipe
52   retry_use_local_part
53   user = EXIMUSER
54
55 rest:
56   driver = accept
57   retry_use_local_part
58   transport = local_delivery
59
60
61 # ----- Transports -----
62
63 begin transports
64
65 local_delivery:
66   driver = appendfile
67   file = DIR/test-mail/$local_part
68   user = CALLER
69
70 address_file:
71   driver = appendfile
72   user = CALLER
73
74 address_pipe:
75   driver = pipe
76
77 stuur_auto_antwoord:
78   driver = autoreply
79   file = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
80   file_expand
81   from = "${lookup{$local_part} lsearch \
82            {DIR/aux-fixed/TESTNUM.beantwoorders} {$value}}"
83   subject = "Re: $h_subject"
84   to = ${return_path}
85   reply_to = x@y, \n p@q
86   user = EXIMUSER
87
88
89 # ----- Retry -----
90
91
92 begin retry
93
94 * * F,5d,10s
95
96
97 # End