[exim-dev] [Bug 1305] New: ACL expansions lose smtp phase in…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1305] New: ACL expansions lose smtp phase info; affects ratelimit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1305
           Summary: ACL expansions lose smtp phase info; affects ratelimit
           Product: Exim
           Version: N/A
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: ACLs
        AssignedTo: jgh146exb@???
        ReportedBy: jgh146exb@???
                CC: exim-dev@???



The recently-added acl expansions, because they can be called from routers
etc., declare the environment as not being any specific smtp phase. This means
that facilities that are phase-sensitive can work oddly. Case in point: an acl
being called via an expansion from a rcpt-time acl, which used ratelimit with
per-cmd. This fails because of the lack of smtp-phase, where the previous
coding of the config using a plain "acl=" worked fine.

Either we document this or work out if proper environment info can be setup for
the called acl for all cases.


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