c413faa953c948926f6e3ab4e598ff07527a00dd
[users/jgh/exim.git] / test / confs / 0518
1 # Exim test configuration 0518
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = check_rcpt
10
11 queue_only
12
13
14 # ----- ACLs -----
15
16 begin acl
17
18 check_rcpt:
19   accept  verify = recipient/callout
20
21
22 # ----- Routers -----
23
24 begin routers
25
26 r1:
27   driver = accept
28   local_part_prefix = *+
29   local_part_suffix = -*
30   local_part_prefix_optional
31   local_part_suffix_optional
32   transport = ${if eq {$domain}{include}{t1}{t2}}
33
34
35 # ----- Transports -----
36
37 begin transports
38
39 t1:
40   driver = smtp
41   hosts = 127.0.0.1
42   port = PORT_S
43   allow_localhost
44   rcpt_include_affixes
45
46 t2:
47   driver = smtp
48   hosts = 127.0.0.1
49   port = PORT_S
50   allow_localhost
51
52 # End