Fix CVE-2016-1531
[exim.git] / test / confs / 3401
1 # Exim test configuration 3401
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 log_selector = +smtp_mailauth
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16
17
18 # ----- Authentication -----
19
20 begin authenticators
21
22 login:
23   driver = plaintext
24   public_name = LOGIN
25   client_send = : userx : secret
26   client_set_id = userx
27
28 plain:
29   driver = plaintext
30   public_name = PLAIN
31   client_send = ^userx^secret
32
33 xlogin:
34   driver = plaintext
35   public_name = XLOGIN
36   client_send = : $auth1 : $auth1+$auth2
37   client_set_id = $auth1
38
39
40 # ----- Routers -----
41
42 begin routers
43
44 try:
45   driver = manualroute
46   route_list = domain.com 127.0.0.1 byname
47   self = send
48   transport = smtp_try
49
50 force:
51   driver = manualroute
52   route_list = authdomain.com 127.0.0.1 byname
53   self = send
54   transport = smtp_force
55
56
57 # ----- Transports -----
58
59 begin transports
60
61 smtp_try:
62   driver = smtp
63   hosts_try_auth = *
64   port = PORT_S
65   authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail}
66
67 smtp_force:
68   driver = smtp
69   hosts_require_auth = *
70   port = PORT_S
71
72
73 # ----- Retry -----
74
75
76 begin retry
77
78 *  auth_failed
79 *  *  F,1h,10m
80
81 # End