dcf0d6f5da9211e3e173f158433983dcb2ac1d5c
[users/heiko/exim.git] / test / confs / 4065
1 # test config 4065
2 # Early-pipe, AUTH, GnuTLS, tls-on-connect
3
4 keep_environment = PATH
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 spool_directory = DIR/spool
8
9 .ifdef SERVER
10 log_file_path = DIR/spool/log/SERVER%slog
11 .else
12 log_file_path = DIR/spool/log/%slog
13 .endif
14
15 gecos_pattern = ""
16 gecos_name = CALLER_NAME
17 dns_cname_loops = 9
18 chunking_advertise_hosts =
19 tls_on_connect_ports = PORT_D
20 tls_advertise_hosts = *
21 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22
23 # Avoid ECDHE key-exchange so that we can wireshark-decode
24 .ifdef _HAVE_GNUTLS
25 tls_require_ciphers = NORMAL:-KX-ALL:+RSA
26 .endif
27
28 pipelining_connect_advertise_hosts = *
29 auth_advertise_hosts = *
30
31 log_selector = +received_recipients +pipelining
32 queue_only
33
34 acl_smtp_rcpt = accept
35
36 #
37 begin routers
38
39 server:
40   driver =      redirect
41   condition =   ${if eq {SERVER}{server}}
42   data =        :blackhole:
43
44 client:
45   driver =      manualroute
46   route_data =  127.0.0.1::PORT_D
47   self =        send
48   transport =   smtp
49
50 #
51 begin transports
52
53 smtp:
54   driver =              smtp
55   hosts_pipe_connect =  *
56   protocol =            smtps
57   tls_verify_hosts =
58   tls_try_verify_hosts =
59   hosts_require_auth =  *
60
61 #
62 begin authenticators
63
64 plain:
65   driver = plaintext
66   public_name = PLAIN
67
68   server_condition = "\
69     ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
70   server_set_id = $auth2
71
72   client_send = ^userx^secret
73