[exim-dev] [Bug 472] New: "require" ACL verb is order-sensit…

Pàgina inicial
Delete this message
Reply to this message
Autor: bug472
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 472] New: "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

           Summary: "require" ACL verb is order-sensitive, while it
                    shouldn't
           Product: Exim
           Version: 4.66
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
        AssignedTo: ph10@???
        ReportedBy: w@???
         QAContact: exim-dev@???



It appears that the "require" verb, as described in:

http://exim.org/exim-html-4.66/doc/html/spec_html/index.html#toc0321

.. is order specific. So, when I put:

require message = something
        condition = ${if something}


I get the message right. But when it is put the other way round:

require condition = ${if something}
        message = something


.. and the condition fails, "require" denies, but Exim doesn't print out the
message as it should - it just says "Administrative prohibition".

The same thing applies to log_message.

This issue seems only to apply for "require" statements. "deny" doesn't seem to
care about message/log_message/condition/whatever ordering.

Sure you can just make a note about that in the docs, but since ordering of
statements for "require" doesn't make any sense to me, I'd be better to fix it.

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