Testsuite: add .editorconfig to keep the trailing spaces
[users/heiko/exim.git] / test / confs / 3461
1 # Exim test configuration 3461
2
3 SERVER =
4 PEX = :
5
6 .include DIR/aux-var/tls_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = accept
13
14 log_selector = +tls_peerdn
15
16 queue_only
17 queue_run_in_order
18
19 smtp_accept_max_nonmail = 0
20
21 tls_advertise_hosts = *
22 tls_certificate =DIR/aux-fixed/cert1
23
24
25 # ----- Authenticators -----
26
27 begin authenticators
28
29 plain:
30   driver = plaintext
31   public_name = PLAIN
32   server_condition = "\
33     ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
34   server_set_id = $2
35   client_send = ^userx^secret
36
37
38 # ----- Routers -----
39
40 begin routers
41
42 client:
43   driver = accept
44   condition = ${if eq {SERVER}{server}{no}{yes}}
45   retry_use_local_part
46   transport = send_to_server
47
48 server:
49   driver = accept
50   retry_use_local_part
51   transport = local_delivery
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 local_delivery:
59   driver = appendfile
60   file = DIR/test-mail/${bless:$local_part}
61   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
62   user = CALLER
63
64 send_to_server:
65   driver = smtp
66   allow_localhost
67   hosts = 127.0.0.1
68   port = PORT_D
69   hosts_try_fastopen =  :
70   hosts_try_auth = *
71   hosts_noproxy_tls = PEX
72   tls_verify_certificates =     DIR/aux-fixed/cert1
73   tls_verify_cert_hostnames =   :
74
75 # End