John Jetmore's -Mset patch.
[exim.git] / test / confs / 0038
1 # Exim test configuration 0038
2
3 RRATELIMIT=0/1h/strict
4 DRATELIMIT=0/1h/per_byte/strict
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = check_rcpt
18 acl_smtp_data = check_data
19 qualify_domain = test.ex
20
21
22 # ----- ACL -----
23
24 begin acl
25
26 check_rcpt:
27     warn  ratelimit = RRATELIMIT
28           log_message = RCPT: \
29                         sender_rate=$sender_rate \
30                         sender_rate_limit=$sender_rate_limit \
31                         sender_rate_period=$sender_rate_period
32     accept
33
34 check_data:
35     warn  ratelimit = DRATELIMIT
36           log_message = DATA: \
37                         sender_rate=$sender_rate \
38                         sender_rate_limit=$sender_rate_limit \
39                         sender_rate_period=$sender_rate_period
40     deny
41
42 # End