[exim-dev] [Bug 472] "require" ACL verb is order-sensitive, …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: bug472
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 472] "require" ACL verb is order-sensitive, while it shouldn't
------- 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=472


holmgren@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





------- Comment #1 from holmgren@??? 2007-02-14 17:31 -------
This is pretty well explained in the specification, section 40.17 to be exact:

"The positioning of the modifiers in an ACL statement important, because the
processing of a verb ceases as soon as its outcome is known. Only those
modifiers that have already been encountered will take effect." This is
followed by an example of exactly this.

So, as soon as a condition of a require statement has failed, Exim stops
processing the ACL and "deny" is returned. Although it may be a bit confusing,
I don't think it's a big problem. If it helps, you can put message modifiers
first in deny statements as well for consistency.

The change you're suggesting is unfortunately incompatible, as the same example
demonstrates; suddenly the last two messages would be used, while the first one
would never be used.

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