Events: log a non-success when a client connect is denied by an event
[users/jgh/exim.git] / test / confs / 4056
1 # test config 4056
2 # Early-pipe, AUTH (no TLS!)
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_advertise_hosts =
20
21 pipelining_connect_advertise_hosts = *
22 auth_advertise_hosts = *
23 log_selector = +pipelining
24 queue_only
25
26 acl_smtp_rcpt = accept
27
28 #
29 begin routers
30
31 server:
32   driver =      redirect
33   condition =   ${if eq {SERVER}{server}}
34   data =        :blackhole:
35
36 client:
37   driver =      manualroute
38   route_data =  127.0.0.1::PORT_D
39   self =        send
40   transport =   smtp
41
42 #
43 begin transports
44
45 smtp:
46   driver =              smtp
47   hosts_pipe_connect =  *
48   hosts_require_auth =  *
49
50 #
51 begin authenticators
52
53 plain:
54   driver = plaintext
55   public_name = PLAIN
56
57   server_condition = "\
58     ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
59   server_set_id = $auth2
60
61   client_send = ^userx^secret
62