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