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