Guard loadable module vars with LOOKUP_MODULE_DIR.
[exim.git] / test / confs / 0540
CommitLineData
26da7e20
PH
1# Exim test configuration 0540
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14acl_smtp_rcpt = check_rcpt
15
16queue_only
17
18
19# ----- ACLs -----
20
21begin acl
22
23check_rcpt:
24 accept verify = recipient/callout
25
26
27# ----- Routers -----
28
29begin routers
30
31r1:
32 driver = accept
33 transport = ${if match {$domain}{^yes}{t1}{t2}}
34
35
36# ----- Transports -----
37
38begin transports
39
40t1:
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
47t2:
48 driver = smtp
49 hosts = 127.0.0.1
50 port = PORT_S
51 allow_localhost
52
53# End