Disable identd (rfc1413) lookups by default
[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
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_rcpt
14
15 queue_only
16
17
18 # ----- ACLs -----
19
20 begin acl
21
22 check_rcpt:
23   accept  verify = recipient/callout
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 r1:
31   driver = accept
32   transport = ${if match {$domain}{^yes}{t1}{t2}}
33
34
35 # ----- Transports -----
36
37 begin transports
38
39 t1:
40   driver = smtp
41   hosts = 127.0.0.1
42   port = PORT_S
43   allow_localhost
44   helo_data = ${if eq{$domain}{yes1}{localhost}{aname}}
45
46 t2:
47   driver = smtp
48   hosts = 127.0.0.1
49   port = PORT_S
50   allow_localhost
51
52 # End