Disable identd (rfc1413) lookups by default
[exim.git] / test / confs / 2026
CommitLineData
afda344b
PH
1# Exim test configuration 2026
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
afda344b 6spool_directory = DIR/spool
9f1ec642 7.ifdef SERVER
afda344b 8log_file_path = DIR/spool/log/%slog
9f1ec642
JH
9.else
10log_file_path = DIR/spool/log/%D-%slog
11.endif
afda344b
PH
12gecos_pattern = ""
13gecos_name = CALLER_NAME
14
15# ----- Main settings -----
16
17acl_smtp_rcpt = check_rcpt
18log_selector = +tls_peerdn
19
9f1ec642 20
afda344b
PH
21tls_advertise_hosts = HOSTIPV4
22tls_certificate = DIR/aux-fixed/cert1
23tls_privatekey = DIR/aux-fixed/cert1
24
25
26# ----- ACLs -----
27
28begin acl
29
30check_rcpt:
31 accept local_parts = userx
9f1ec642 32 control = queue_only
afda344b
PH
33
34 defer local_parts = usery
35 hosts = 127.0.0.1
36
9f1ec642 37 accept control = queue_only
afda344b
PH
38
39# ----- Routers -----
40
41begin routers
42
43r0:
44 driver = accept
45 condition = ${if !eq {$sender_host_address}{}}
46 transport = t2
47
48r1:
49 driver = accept
50 transport = t1
51
52
53# ----- Transports -----
54
55begin transports
56
57t1:
58 driver = smtp
59 hosts = 127.0.0.1 : HOSTIPV4
60 port = PORT_D
61 allow_localhost
62
63t2:
64 driver = appendfile
65 file = /dev/null
66 user = CALLER
67
68# End