Fix CVE-2016-1531
[users/jgh/exim.git] / test / confs / 3403
1 # Exim test configuration 3403
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 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16
17
18 # ----- Authentication -----
19
20 begin authenticators
21
22 plain1:
23   driver = plaintext
24   public_name = PLAIN
25   server_condition = \
26     ${if or {\
27       {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
28       {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
29     }\
30     {yes}{no}}
31   server_set_id = $2
32   server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 d1:
40   driver = accept
41   headers_add = aid: $authenticated_id
42   retry_use_local_part
43   transport = t1
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 t1:
51   driver = appendfile
52   file = DIR/test-mail/$local_part
53   user = CALLER
54
55 # End