Fix error messages in dbfn_open
[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 .include DIR/aux-var/std_conf_prefix
8
9 primary_hostname = myhost.test.ex
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = ACLRCPT
14 acl_smtp_data = check_data
15 qualify_domain = test.ex
16
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_rcpt:
23     warn  ratelimit = RRATELIMIT
24           log_message = RCPT: \
25                         sender_rate=$sender_rate \
26                         sender_rate_limit=$sender_rate_limit \
27                         sender_rate_period=$sender_rate_period
28     accept
29
30 check_rcpt2:
31     warn  ratelimit = RRATELIMIT/noupdate
32           log_message = RCPT2-1: \
33                         sender_rate=$sender_rate \
34                         sender_rate_limit=$sender_rate_limit \
35                         sender_rate_period=$sender_rate_period
36
37     warn  ratelimit = RRATELIMIT
38           log_message = RCPT2-2: \
39                         sender_rate=$sender_rate \
40                         sender_rate_limit=$sender_rate_limit \
41                         sender_rate_period=$sender_rate_period
42
43     accept
44
45 check_data:
46     warn  ratelimit = DRATELIMIT
47           log_message = DATA: \
48                         sender_rate=$sender_rate \
49                         sender_rate_limit=$sender_rate_limit \
50                         sender_rate_period=$sender_rate_period
51     deny
52
53 # End