f82434601ab2302abdc8e329a0781b0aa82c99c4
[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 .ifdef _HAVE_DMARC
22 dmarc_tld_file =
23 .endif
24
25 pipelining_connect_advertise_hosts = *
26 auth_advertise_hosts = *
27 log_selector = +pipelining
28 queue_only
29
30 acl_smtp_rcpt = accept
31
32 #
33 begin routers
34
35 server:
36   driver =      redirect
37   condition =   ${if eq {SERVER}{server}}
38   data =        :blackhole:
39
40 client:
41   driver =      manualroute
42   route_data =  127.0.0.1::PORT_D
43   self =        send
44   transport =   smtp
45
46 #
47 begin transports
48
49 smtp:
50   driver =              smtp
51   hosts_pipe_connect =  *
52   hosts_require_auth =  *
53
54 #
55 begin authenticators
56
57 plain:
58   driver = plaintext
59   public_name = PLAIN
60
61   server_condition = "\
62     ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
63   server_set_id = $auth2
64
65   client_send = ^userx^secret
66