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