5738eebd477ed80f5ab547d4086cdc6bdced443f
[users/jgh/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
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_rcpt
14
15 queue_only
16
17
18 # ----- ACLs -----
19
20 begin acl
21
22 check_rcpt:
23   accept  verify = recipient/callout
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 r1:
31   driver = accept
32   local_part_prefix = *+
33   local_part_suffix = -*
34   local_part_prefix_optional
35   local_part_suffix_optional
36   transport = ${if eq {$domain}{include}{t1}{t2}}
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 t1:
44   driver = smtp
45   hosts = 127.0.0.1
46   port = PORT_S
47   allow_localhost
48   rcpt_include_affixes
49
50 t2:
51   driver = smtp
52   hosts = 127.0.0.1
53   port = PORT_S
54   allow_localhost
55
56 # End