update to pre-4.87 master
[exim.git] / test / confs / 0540
1 # Exim test configuration 0540
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   transport = ${if match {$domain}{^yes}{t1}{t2}}
34
35
36 # ----- Transports -----
37
38 begin transports
39
40 t1:
41   driver = smtp
42   hosts = 127.0.0.1
43   port = PORT_S
44   allow_localhost
45   helo_data = ${if eq{$domain}{yes1}{localhost}{aname}}
46
47 t2:
48   driver = smtp
49   hosts = 127.0.0.1
50   port = PORT_S
51   allow_localhost
52
53 # End