[exim-dev] [Bug 1621] New: Using "per_*" ratelimit options i…

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 1621] Using "per_*" ratelimit options in the wrong ACLs
Subject: [exim-dev] [Bug 1621] New: Using "per_*" ratelimit options in the wrong ACLs
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1621
           Summary: Using "per_*" ratelimit options in the wrong ACLs
           Product: Exim
           Version: N/A
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
        AssignedTo: jgh146exb@???
        ReportedBy: exim@???
                CC: exim-dev@???



I came across an Exim configuration where somebody was using ratelimiting in
the not_smtp acl. The trouble is they were using "per_rcpt", which doesn't make
sense in the not_smtp acl because it is keyed on "$local_part@$domain", which
in the not_smtp acl is simply "@" because it is run once per message rather
than once per recipient so $local_part and $domain are both blank.

So they were inadvertently ratelimiting on total number of messages rather than
total messages per recipient.

I wonder if Exim could be updated to allow the use of per_rcpt ratelimiting in
the not_smtp ACL, or alternatively to die or warn when it sees the use of these
ratelimit "per_*" options inside ACLs in which they should not be used?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email