Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0038 |
2 | ||
3 | RRATELIMIT=0/1h/strict | |
4 | DRATELIMIT=0/1h/per_byte/strict | |
8f240103 | 5 | ACLRCPT=check_rcpt |
afda344b PH |
6 | |
7 | exim_path = EXIM_PATH | |
bc3c7bb7 | 8 | keep_environment = |
afda344b PH |
9 | host_lookup_order = bydns |
10 | primary_hostname = myhost.test.ex | |
afda344b PH |
11 | spool_directory = DIR/spool |
12 | log_file_path = DIR/spool/log/%slog | |
13 | gecos_pattern = "" | |
14 | gecos_name = CALLER_NAME | |
23f3dc67 | 15 | tls_advertise_hosts = |
afda344b PH |
16 | |
17 | # ----- Main settings ----- | |
18 | ||
8f240103 | 19 | acl_smtp_rcpt = ACLRCPT |
afda344b PH |
20 | acl_smtp_data = check_data |
21 | qualify_domain = test.ex | |
22 | ||
23 | ||
24 | # ----- ACL ----- | |
25 | ||
26 | begin acl | |
27 | ||
28 | check_rcpt: | |
29 | warn ratelimit = RRATELIMIT | |
30 | log_message = RCPT: \ | |
31 | sender_rate=$sender_rate \ | |
32 | sender_rate_limit=$sender_rate_limit \ | |
33 | sender_rate_period=$sender_rate_period | |
34 | accept | |
35 | ||
8f240103 PH |
36 | check_rcpt2: |
37 | warn ratelimit = RRATELIMIT/noupdate | |
38 | log_message = RCPT2-1: \ | |
39 | sender_rate=$sender_rate \ | |
40 | sender_rate_limit=$sender_rate_limit \ | |
41 | sender_rate_period=$sender_rate_period | |
42 | ||
43 | warn ratelimit = RRATELIMIT | |
44 | log_message = RCPT2-2: \ | |
45 | sender_rate=$sender_rate \ | |
46 | sender_rate_limit=$sender_rate_limit \ | |
47 | sender_rate_period=$sender_rate_period | |
48 | ||
49 | accept | |
50 | ||
afda344b PH |
51 | check_data: |
52 | warn ratelimit = DRATELIMIT | |
53 | log_message = DATA: \ | |
54 | sender_rate=$sender_rate \ | |
55 | sender_rate_limit=$sender_rate_limit \ | |
56 | sender_rate_period=$sender_rate_period | |
57 | deny | |
58 | ||
59 | # End |