[exim-dev] [Bug 427] Add conditional GOTO in ACL processes

Top Page
Delete this message
Reply to this message
Author: bug427
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 427] Add conditional GOTO in ACL processes
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=427





------- Comment #4 from marc@??? 2006-12-07 14:31 -------
There are several reasons why using ACL subroutines wouldn't work as well.

Command like DROP DENY ACCEPT mean different things in an ACL subroutine. ACL
subroutines makes the logic far more complicated

It still has to execute the ACL subroutine each time, wasting resources.

You still have to add the ACL line to each ACL and that undermines in part the
reason for the GOTO. Having the GOTO eliminates the need to add the conditional
to each and every ACL in the middle.

Suppose the condition is a slow running perl script. The goto allows you to run
it once and then branch.

Suppose the condition is ratelimit. If you run that over and over then you mess
up the counts. You could do the ratelimit once and jump over 50 ACLS.

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