Fix CVE-2016-1531
[exim.git] / test / confs / 3600
1 # Exim test configuration 3600
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = check_recipient
17 queue_only
18 trusted_users = CALLER
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   deny     message = authentication required
27           !authenticated = *
28   accept
29
30
31 # ----- Authentication -----
32
33 begin authenticators
34
35 # Forced expansion failure
36 spabad:
37   driver = spa
38   public_name = NTLMX
39   client_password = ${if eq{1}{0}{xxx}fail}
40   client_username = username
41   server_password = ok@test.ex
42   server_set_id = $auth1
43
44 spa:
45   driver = spa
46   public_name = NTLM
47   client_password = $sender_address
48   client_username = username
49   server_debug_print = +++SPA \$auth1="$auth1"
50   server_password = ok@test.ex
51   server_set_id = $auth1
52
53
54 # ----- Routers -----
55
56 begin routers
57
58 r1:
59   driver = accept
60   transport = t1
61
62
63 # ----- Transports -----
64
65 begin transports
66
67 t1:
68   driver = smtp
69   hosts = 127.0.0.1
70   port = PORT_D
71   allow_localhost
72   hosts_require_auth = *
73
74
75 # ----- Retry -----
76
77 begin retry
78
79 *  *  F,1d,1d
80
81 # End