[exim-dev] [Bug 1598] The 'inlist' expansion condition does …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 1598] The 'inlist' expansion condition does not expand a named list
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1598

Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pdp@???
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





--- Comment #2 from Phil Pennock <pdp@???> 2015-03-09 09:48:36 ---
It's deliberate that inlist not handle named lists, and it's documented that
way.

The problem is that using the more powerful generic lists mechanisms led to
lookups being used, which led to people writing exploitable configurations
because they'd put data extracted from emails into the list of things being
matched.

-----
inlist {<string1>}{<string2>}, inlisti {<string1>}{<string2>}

    Both strings are expanded; the second string is treated as a list of simple
    strings; if the first string is a member of the second, then the condition
    is true.
-----


The documentation states that it's a list of simple strings and provides
examples. The documentation is correct. This is the desired state.


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