Apply Jakob Hirsch's patch for arbitrary ACL variable names, tidied up
[exim.git] / test / confs / 0038
CommitLineData
afda344b
PH
1# Exim test configuration 0038
2
3RRATELIMIT=0/1h/strict
4DRATELIMIT=0/1h/per_byte/strict
5
6exim_path = EXIM_PATH
7host_lookup_order = bydns
8primary_hostname = myhost.test.ex
9rfc1413_query_timeout = 0s
10spool_directory = DIR/spool
11log_file_path = DIR/spool/log/%slog
12gecos_pattern = ""
13gecos_name = CALLER_NAME
14
15# ----- Main settings -----
16
17acl_smtp_rcpt = check_rcpt
18acl_smtp_data = check_data
19qualify_domain = test.ex
20
21
22# ----- ACL -----
23
24begin acl
25
26check_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
34check_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