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