Taint: reject or log more tainted list metadata elements
[exim.git] / test / confs / 1148
1 # Exim test configuration 1148
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 .ifdef SUB
10 tls_on_connect_ports = SUB
11 .endif
12
13 tls_advertise_hosts = *
14 tls_certificate = DIR/aux-fixed/cert1
15 tls_privatekey = DIR/aux-fixed/cert1
16
17 queue_only
18 queue_run_in_order
19
20 acl_smtp_atrn = check_atrn 
21
22 # ----- ACL -----
23
24 begin acl
25
26 check_atrn:
27   warn          set acl_m0 = clientdom.net
28                 logwrite = tls_in_cipher $tls_in_cipher
29   defer         !atrn_domains = <, $acl_m0
30                 message = 453 You have no mail
31   accept
32
33 # ----- auths ----
34
35 begin authenticators
36
37 plain:
38   driver = plaintext
39   public_name = PLAIN
40   server_advertise_condition = ${if def:tls_in_cipher}
41   server_condition = "\
42     ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
43   server_set_id = $auth2
44
45 # -------- routers ---
46
47 begin routers
48
49 client:
50   driver =      manualroute
51   route_data =  <;$atrn_host
52   self =        send
53   transport =   client_smtp
54
55 begin transports
56
57 client_smtp:
58     driver =            smtp
59     allow_localhost
60     hosts_require_tls = *
61     tls_verify_certificates =   DIR/aux-fixed/cert1
62     tls_verify_cert_hostnames = :
63
64 # End