New $callout_address variable to record spamd (etc) address. Bug 1652
[users/jgh/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 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 = ACLRCPT
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_rcpt2:
35     warn  ratelimit = RRATELIMIT/noupdate
36           log_message = RCPT2-1: \
37                         sender_rate=$sender_rate \
38                         sender_rate_limit=$sender_rate_limit \
39                         sender_rate_period=$sender_rate_period
40
41     warn  ratelimit = RRATELIMIT
42           log_message = RCPT2-2: \
43                         sender_rate=$sender_rate \
44                         sender_rate_limit=$sender_rate_limit \
45                         sender_rate_period=$sender_rate_period
46
47     accept
48
49 check_data:
50     warn  ratelimit = DRATELIMIT
51           log_message = DATA: \
52                         sender_rate=$sender_rate \
53                         sender_rate_limit=$sender_rate_limit \
54                         sender_rate_period=$sender_rate_period
55     deny
56
57 # End