Fix CVE-2016-1531
[exim.git] / test / confs / 0480
CommitLineData
afda344b
PH
1# Exim test configuration 0480
2
3IP1=V4NET.0.0.1
4IP2=V4NET.0.0.2
5IP3=V4NET.0.0.3
6
7SERVER=
8
9exim_path = EXIM_PATH
bc3c7bb7 10keep_environment =
afda344b 11host_lookup_order = bydns
afda344b
PH
12spool_directory = DIR/spool
13log_file_path = DIR/spool/log/SERVER%slog
14gecos_pattern = ""
15gecos_name = CALLER_NAME
23f3dc67 16tls_advertise_hosts =
afda344b
PH
17
18# ----- Main settings -----
19
20acl_smtp_rcpt = accept
21
194cc0e4 22smtp_active_hostname = ${if eq{$received_ip_address}{IP1}\
afda344b
PH
23 {host.IP1}\
24 {\
194cc0e4 25 ${if eq{$received_ip_address}{IP2}\
afda344b
PH
26 {}\
27 {\
194cc0e4 28 ${if eq{$received_ip_address}{IP3}\
afda344b
PH
29 {${lookup{x}lsearch{/non/exist}}}\
30 fail}\
31 }}\
32 }}
33
34
35# ----- Routers -----
36
37begin routers
38
39r1:
40 driver = accept
41 headers_add = X-sah: $smtp_active_hostname
42 transport = t1
43
44
45# ----- Transports -----
46
47begin transports
48
49t1:
50 driver = appendfile
51 file = DIR/test-mail/$local_part
52 user = CALLER
53
54
55# End