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