Use xmlto; add to 'clean' target.
[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 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 rfc1413_query_timeout = 0s
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/%slog
13 gecos_pattern = ""
14 gecos_name = CALLER_NAME
15
16 # ----- Main settings -----
17
18 acl_smtp_rcpt = ACLRCPT
19 acl_smtp_data = check_data
20 qualify_domain = test.ex
21
22
23 # ----- ACL -----
24
25 begin acl
26
27 check_rcpt:
28     warn  ratelimit = RRATELIMIT
29           log_message = RCPT: \
30                         sender_rate=$sender_rate \
31                         sender_rate_limit=$sender_rate_limit \
32                         sender_rate_period=$sender_rate_period
33     accept
34
35 check_rcpt2:
36     warn  ratelimit = RRATELIMIT/noupdate
37           log_message = RCPT2-1: \
38                         sender_rate=$sender_rate \
39                         sender_rate_limit=$sender_rate_limit \
40                         sender_rate_period=$sender_rate_period
41
42     warn  ratelimit = RRATELIMIT
43           log_message = RCPT2-2: \
44                         sender_rate=$sender_rate \
45                         sender_rate_limit=$sender_rate_limit \
46                         sender_rate_period=$sender_rate_period
47
48     accept
49
50 check_data:
51     warn  ratelimit = DRATELIMIT
52           log_message = DATA: \
53                         sender_rate=$sender_rate \
54                         sender_rate_limit=$sender_rate_limit \
55                         sender_rate_period=$sender_rate_period
56     deny
57
58 # End