X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/afda344b580b54a4513569720aec3260cd5ba546..468c0c7e3066886ff5028bb423b96712a155fe05:/test/confs/0038?ds=inline diff --git a/test/confs/0038 b/test/confs/0038 index 497623a6d..514af9e8a 100644 --- a/test/confs/0038 +++ b/test/confs/0038 @@ -2,19 +2,20 @@ RRATELIMIT=0/1h/strict DRATELIMIT=0/1h/per_byte/strict +ACLRCPT=check_rcpt exim_path = EXIM_PATH host_lookup_order = bydns primary_hostname = myhost.test.ex -rfc1413_query_timeout = 0s spool_directory = DIR/spool log_file_path = DIR/spool/log/%slog gecos_pattern = "" gecos_name = CALLER_NAME +tls_advertise_hosts = # ----- 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: \