Hi i want to ratelimit some of our Users. I want that they only can send mails
to 20
recipients total in one hour. So they can 20 single mails or 2 mail with 10
recipients.
I have a perl function wich make a LDAP lookup for a specific value and if it
is not set
the ratlimit should be done for that user and the function returns "false".
This is working.
When i delete the ratelimit the user can't send an i see the message in the log.
I tried this configuration but it seems to do nothing.
########################################
acl_smtp_predata = check_max_recients
check_max_recients:
deny condition = ${if
eq{${perl{ldap_check_ratelimit}{$sender_address}}}{false}{yes}{no}}
ratelimit = 20 / 1h / per_rcpt / $sender_address
message = RATELIMIT EXCEEDED $sender_rate /
$sender_rate_period!
########################################
What is wrong with my configuration?
Regards
Hans
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/