Commit | Line | Data |
---|---|---|
99400968 | 1 | # Exim test configuration 5420 |
4ed8d31a | 2 | |
d4dc049f JH |
3 | .include DIR/aux-var/tls_conf_prefix |
4 | ||
4ed8d31a | 5 | primary_hostname = myhost.test.ex |
4ed8d31a JH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | log_selector = +smtp_confirmation | |
10 | tls_advertise_hosts = * | |
11 | tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} | |
12 | ||
13 | domainlist local_domains = test.ex : *.test.ex | |
14 | ||
15 | acl_smtp_rcpt = ${if eq {SERVER}{server}{queue}{cutthrough}} | |
16 | ||
17 | # ----- ACLs ------- | |
18 | ||
19 | begin acl | |
20 | ||
21 | cutthrough: | |
22 | accept control = cutthrough_delivery | |
23 | verify = recipient | |
24 | ||
25 | queue: | |
26 | accept control = queue_only | |
27 | ||
28 | # ----- Routers ----- | |
29 | ||
30 | begin routers | |
31 | ||
32 | all: | |
33 | driver = manualroute | |
34 | domains = ! +local_domains | |
35 | route_list = * 127.0.0.1 | |
36 | self = send | |
37 | address_data = $local_part | |
38 | transport = smtp | |
39 | no_more | |
40 | ||
41 | ||
42 | # ----- Transports ----- | |
43 | ||
44 | begin transports | |
45 | ||
46 | smtp: | |
47 | driver = smtp | |
48 | interface = HOSTIPV4 | |
49 | port = PORT_D | |
99400968 JH |
50 | hosts_avoid_tls = ${if eq {$address_data}{usery}{*}{:}} |
51 | hosts_verify_avoid_tls = ${if eq {$address_data}{userz}{*}{:}} | |
4ed8d31a JH |
52 | |
53 | ||
54 | # End |