update to pre-4.87 master
[exim.git] / test / confs / 0518
1 # Exim test configuration 0518
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_rcpt
15
16 queue_only
17
18
19 # ----- ACLs -----
20
21 begin acl
22
23 check_rcpt:
24   accept  verify = recipient/callout
25
26
27 # ----- Routers -----
28
29 begin routers
30
31 r1:
32   driver = accept
33   local_part_prefix = *+
34   local_part_suffix = -*
35   local_part_prefix_optional
36   local_part_suffix_optional
37   transport = ${if eq {$domain}{include}{t1}{t2}}
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 t1:
45   driver = smtp
46   hosts = 127.0.0.1
47   port = PORT_S
48   allow_localhost
49   rcpt_include_affixes
50
51 t2:
52   driver = smtp
53   hosts = 127.0.0.1
54   port = PORT_S
55   allow_localhost
56
57 # End