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