Fix CVE-2016-1531
[exim.git] / test / confs / 0546
1 # Exim test configuration 0546
2
3 HELO_MSG=One line
4 RCPT_MSG=RCPT is OK
5
6 exim_path = EXIM_PATH
7 keep_environment =
8 host_lookup_order = bydns
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 acl_smtp_helo = check_helo
18 acl_smtp_mail = check_mail
19 acl_smtp_rcpt = check_rcpt
20 acl_smtp_data = check_data
21 acl_smtp_predata = check_predata
22
23 qualify_domain = test.ex
24 queue_only
25
26
27 # ----- ACLs -----
28
29 begin acl
30
31 check_helo:
32   accept     message = HELO_MSG
33
34 check_mail:
35   accept     message = 299 MAIL is\nOK
36
37 check_rcpt:
38   accept     message = RCPT_MSG
39
40 check_data:
41   accept     message = 288 I like the data
42
43 check_predata:
44   accept     message = 300 Funny, but OK code
45
46
47 # End