Testsuite: munge for error message sizes in retry records
[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/$local_part
61   create_file = DIR/test-mail
62   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
63   user = CALLER
64
65 send_to_server:
66   driver = smtp
67   allow_localhost
68   hosts = 127.0.0.1
69   port = PORT_D
70   hosts_try_fastopen =  :
71   hosts_try_auth = *
72   hosts_noproxy_tls = PEX
73   tls_verify_certificates =     DIR/aux-fixed/cert1
74   tls_verify_cert_hostnames =   :
75
76 # End