Fix CVE-2016-1531
[exim.git] / test / confs / 3410
CommitLineData
afda344b
PH
1# Exim test configuration 3410
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15# Use first three components of address to select ACL
16acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}}
17
18# ----- ACLs -----
19
20begin acl
21
22# These ones test defers
23
24acl_5_6_9:
25 accept endpass
26 message = You must authenticate
27 authenticated = *
28
29acl_5_6_10:
30 accept authenticated = auth1
31
32
33# ------ Authenticators ----
34
35begin authenticators
36
37auth1:
38 driver = plaintext
39 public_name = PLAIN
40 server_condition = ${if eq {$3}{secret}{yes}{no}}
41
42auth2:
43 driver = plaintext
44 public_name = LOGIN
45 server_prompts = "User Name : Password "
46 server_condition = ${if eq {$2}{secret}{yes}{no}}
47
48
49# End