Additional tests - didn't show any problems.
[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
10host_lookup_order = bydns
11rfc1413_query_timeout = 0s
12spool_directory = DIR/spool
13log_file_path = DIR/spool/log/SERVER%slog
14gecos_pattern = ""
15gecos_name = CALLER_NAME
16
17# ----- Main settings -----
18
19acl_smtp_rcpt = accept
20
194cc0e4 21smtp_active_hostname = ${if eq{$received_ip_address}{IP1}\
afda344b
PH
22 {host.IP1}\
23 {\
194cc0e4 24 ${if eq{$received_ip_address}{IP2}\
afda344b
PH
25 {}\
26 {\
194cc0e4 27 ${if eq{$received_ip_address}{IP3}\
afda344b
PH
28 {${lookup{x}lsearch{/non/exist}}}\
29 fail}\
30 }}\
31 }}
32
33
34# ----- Routers -----
35
36begin routers
37
38r1:
39 driver = accept
40 headers_add = X-sah: $smtp_active_hostname
41 transport = t1
42
43
44# ----- Transports -----
45
46begin transports
47
48t1:
49 driver = appendfile
50 file = DIR/test-mail/$local_part
51 user = CALLER
52
53
54# End