Support Rspamd. Patch from Andrew Lewis, lightly editorialised
[users/heiko/exim.git] / test / confs / 5420
1 # Exim test configuration 5420
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
11 # ----- Main settings -----
12
13 log_selector =  +smtp_confirmation
14 tls_advertise_hosts = *
15 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
16
17 domainlist local_domains = test.ex : *.test.ex
18
19 acl_smtp_rcpt = ${if eq {SERVER}{server}{queue}{cutthrough}}
20
21 # ----- ACLs -------
22
23 begin acl
24
25 cutthrough:
26     accept      control = cutthrough_delivery
27                 verify = recipient
28
29 queue:
30     accept      control = queue_only
31
32 # ----- Routers -----
33
34 begin routers
35
36 all:
37   driver = manualroute
38   domains = ! +local_domains
39   route_list = * 127.0.0.1
40   self = send
41   address_data = $local_part
42   transport = smtp
43   no_more
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 smtp:
51   driver = smtp
52   interface = HOSTIPV4
53   port = PORT_D
54   hosts_avoid_tls =        ${if eq {$address_data}{usery}{*}{:}}
55   hosts_verify_avoid_tls = ${if eq {$address_data}{userz}{*}{:}}
56
57
58 # End