DKIM: fix $dkim_key_length in verify
[users/heiko/exim.git] / test / confs / 3451
1 # Exim test configuration 3451
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
23 # Set certificate only if server
24
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28
29 # ----- Authenticators -----
30
31 begin authenticators
32
33 plain:
34   driver = plaintext
35   public_name = PLAIN
36   server_condition = "\
37     ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
38   server_set_id = $2
39   client_send = ^userx^secret
40
41
42 # ----- Routers -----
43
44 begin routers
45
46 client:
47   driver = accept
48   condition = ${if eq {SERVER}{server}{no}{yes}}
49   retry_use_local_part
50   transport = send_to_server
51
52 server:
53   driver = accept
54   retry_use_local_part
55   transport = local_delivery
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 local_delivery:
63   driver = appendfile
64   file = DIR/test-mail/${bless:$local_part}
65   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
66   user = CALLER
67
68 send_to_server:
69   driver = smtp
70   allow_localhost
71   hosts = 127.0.0.1
72   port = PORT_D
73   hosts_try_fastopen =  :
74   hosts_try_auth = *
75   hosts_noproxy_tls = PEX
76
77 # End