Fix CVE-2016-1531
[exim.git] / test / confs / 0038
1 # Exim test configuration 0038
2
3 RRATELIMIT=0/1h/strict
4 DRATELIMIT=0/1h/per_byte/strict
5 ACLRCPT=check_rcpt
6
7 exim_path = EXIM_PATH
8 keep_environment =
9 host_lookup_order = bydns
10 primary_hostname = myhost.test.ex
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/%slog
13 gecos_pattern = ""
14 gecos_name = CALLER_NAME
15 tls_advertise_hosts =
16
17 # ----- Main settings -----
18
19 acl_smtp_rcpt = ACLRCPT
20 acl_smtp_data = check_data
21 qualify_domain = test.ex
22
23
24 # ----- ACL -----
25
26 begin acl
27
28 check_rcpt:
29 warn ratelimit = RRATELIMIT
30 log_message = RCPT: \
31 sender_rate=$sender_rate \
32 sender_rate_limit=$sender_rate_limit \
33 sender_rate_period=$sender_rate_period
34 accept
35
36 check_rcpt2:
37 warn ratelimit = RRATELIMIT/noupdate
38 log_message = RCPT2-1: \
39 sender_rate=$sender_rate \
40 sender_rate_limit=$sender_rate_limit \
41 sender_rate_period=$sender_rate_period
42
43 warn ratelimit = RRATELIMIT
44 log_message = RCPT2-2: \
45 sender_rate=$sender_rate \
46 sender_rate_limit=$sender_rate_limit \
47 sender_rate_period=$sender_rate_period
48
49 accept
50
51 check_data:
52 warn ratelimit = DRATELIMIT
53 log_message = DATA: \
54 sender_rate=$sender_rate \
55 sender_rate_limit=$sender_rate_limit \
56 sender_rate_period=$sender_rate_period
57 deny
58
59 # End