Testsuite: WELLKNOWN
[exim.git] / test / confs / 3901
1 # Exim test configuration 9351
2
3 SERVER=
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = check_recipient
12
13 .ifdef TRUSTED
14 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
15 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
16
17 tls_verify_hosts = HOSTIPV4
18 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
19 .endif
20
21 queue_only
22
23 # ----- ACL -----
24
25 begin acl
26
27 check_recipient:
28   deny     message = authentication required
29           !authenticated = *
30   accept
31
32
33 # ----- Route -----
34
35 begin routers
36
37 all:
38   driver = accept
39   transport = server
40   errors_to =
41
42 begin transports
43
44 server:
45   driver =              smtp
46   hosts =               127.0.0.1
47   allow_localhost
48   port =                PORT_D
49   hosts_require_auth =  *
50
51 # ----- Authentication -----
52
53 begin authenticators
54
55 dovecot:
56   driver = dovecot
57   public_name = PLAIN
58   server_socket = 127.0.0.1 PORT_S
59 .ifdef TRUSTED
60   server_tls =  true
61 .endif
62   server_set_id = $auth1
63
64 client:
65   driver = plaintext
66   public_name = PLAIN
67   client_send = ^username^mysecret
68
69 # End