Merge branch 'master' into transp_logging_1031
[users/jgh/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 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_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