tidying
[users/jgh/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 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
14 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
15
16 tls_verify_hosts = HOSTIPV4
17 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
18
19 queue_only
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   deny     message = authentication required
27           !authenticated = *
28   accept
29
30
31 # ----- Route -----
32
33 begin routers
34
35 all:
36   driver = accept
37   transport = server
38   errors_to =
39
40 begin transports
41
42 server:
43   driver =              smtp
44   hosts =               127.0.0.1
45   allow_localhost
46   port =                PORT_D
47   hosts_require_auth =  *
48
49 # ----- Authentication -----
50
51 begin authenticators
52
53 dovecot:
54   driver = dovecot
55   public_name = PLAIN
56   server_socket = 127.0.0.1 PORT_S
57 .ifdef TRUSTED
58   server_tls =  true
59 .endif
60   server_set_id = $auth1
61
62 client:
63   driver = plaintext
64   public_name = PLAIN
65   client_send = ^username^mysecret
66
67 # End