Fix udpsend and ip_connectedsocket().
[exim.git] / test / confs / 0166
1 # Exim test configuration 0166
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex
14 qualify_domain = test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 alias:
22   driver = redirect
23   allow_defer
24   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
25   headers_add = X-Delivered-To: $local_part@$domain
26   retry_use_local_part
27
28 user:
29   driver = accept
30   headers_add = X-Delivered-To: $local_part@$domain
31   retry_use_local_part
32   transport = local_delivery
33   headers_add = X-rtr-hdr: 1
34   headers_add = ${if bool{false} {X-rtr-hdr: 2}}
35   headers_add = X-rtr-hdr: 3
36
37
38 # ----- Transports -----
39
40 begin transports
41
42 local_delivery:
43   driver = appendfile
44   envelope_to_add
45   file = DIR/test-mail/$local_part
46   user = CALLER
47   headers_add = X-tpt-hdr: 1
48   headers_add = ${if bool{false} {X-tpt-hdr: 2}}
49   headers_add = X-tpt-hdr: 3
50
51
52 # End