Add perl_taintmode option
[users/jgh/exim.git] / test / confs / 5400
1 # Exim test configuration 5400
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 log_selector = +received_recipients
14
15 # ----- Main settings -----
16
17 domainlist local_domains = test.ex : *.test.ex
18
19 acl_smtp_rcpt = ar
20
21
22 # ----- ACLs -----
23
24 begin acl
25
26 ar:
27         accept control = cutthrough_delivery
28         logwrite = rcpt for $local_part@$domain
29
30 # ----- Routers -----
31
32 begin routers
33
34 dns:
35   driver = dnslookup
36   domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
37   self = send
38   transport = smtp
39
40 all:
41   driver = manualroute
42   domains = ! +local_domains
43   route_list = special.com HOSTIPV4 ; * 127.0.0.1
44   self = send
45   transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
46   headers_remove = X-hdr-rtr
47   headers_add =    X-hdr-rtr-new: $h_X-hdr-rtr:+++
48   errors_to =      ""
49   no_more
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 smtp:
57   driver = smtp
58   interface = HOSTIPV4
59   port = PORT_S
60   headers_add =  ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
61
62 smtp2:
63   driver = smtp
64   interface = HOSTIPV4
65   port = PORT_S
66
67
68 # End