testcase
[exim.git] / test / confs / 0540
CommitLineData
26da7e20
PH
1# Exim test configuration 0540
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
26da7e20
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
26da7e20
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
26da7e20
PH
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = check_rcpt
16
17queue_only
18
19
20# ----- ACLs -----
21
22begin acl
23
24check_rcpt:
25 accept verify = recipient/callout
26
27
28# ----- Routers -----
29
30begin routers
31
32r1:
33 driver = accept
34 transport = ${if match {$domain}{^yes}{t1}{t2}}
35
36
37# ----- Transports -----
38
39begin transports
40
41t1:
42 driver = smtp
43 hosts = 127.0.0.1
44 port = PORT_S
45 allow_localhost
46 helo_data = ${if eq{$domain}{yes1}{localhost}{aname}}
47
48t2:
49 driver = smtp
50 hosts = 127.0.0.1
51 port = PORT_S
52 allow_localhost
53
54# End