summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-06-20 14:13:39 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-06-20 14:13:39 +0000
commit8f2401034e2ce4007b1f270cd389381753c814eb (patch)
treed1d88b61972f84d9cfceff56c752bd6f94608917 /test/confs
parenta96603a0e5a7283a9275fb090dac95a42e05a423 (diff)
Add /noupdate as a ratelimit option.
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/003818
1 files changed, 17 insertions, 1 deletions
diff --git a/test/confs/0038 b/test/confs/0038
index 497623a6d..e40799455 100644
--- a/test/confs/0038
+++ b/test/confs/0038
@@ -2,6 +2,7 @@
RRATELIMIT=0/1h/strict
DRATELIMIT=0/1h/per_byte/strict
+ACLRCPT=check_rcpt
exim_path = EXIM_PATH
host_lookup_order = bydns
@@ -14,7 +15,7 @@ gecos_name = CALLER_NAME
# ----- Main settings -----
-acl_smtp_rcpt = check_rcpt
+acl_smtp_rcpt = ACLRCPT
acl_smtp_data = check_data
qualify_domain = test.ex
@@ -31,6 +32,21 @@ check_rcpt:
sender_rate_period=$sender_rate_period
accept
+check_rcpt2:
+ warn ratelimit = RRATELIMIT/noupdate
+ log_message = RCPT2-1: \
+ sender_rate=$sender_rate \
+ sender_rate_limit=$sender_rate_limit \
+ sender_rate_period=$sender_rate_period
+
+ warn ratelimit = RRATELIMIT
+ log_message = RCPT2-2: \
+ sender_rate=$sender_rate \
+ sender_rate_limit=$sender_rate_limit \
+ sender_rate_period=$sender_rate_period
+
+ accept
+
check_data:
warn ratelimit = DRATELIMIT
log_message = DATA: \