[exim-dev] [Bug 2623] New: sqlite_dbfile is ignored in list …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Neue Treads: [exim-dev] [Bug 2623] sqlite lookup taint problem, [exim-dev] [Bug 2623] sqlite lookup taint problem, [exim-dev] [Bug 2623] sqlite lookup taint problem
Betreff: [exim-dev] [Bug 2623] New: sqlite_dbfile is ignored in list lookups
https://bugs.exim.org/show_bug.cgi?id=2623

            Bug ID: 2623
           Summary: sqlite_dbfile is ignored in list lookups
           Product: Exim
           Version: 4.94
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Lookups
          Assignee: unallocated@???
          Reporter: andras@???
                CC: exim-dev@???


Section 9.26 of the documentation gives the following example on how to define
a domainlist as a sqlite query:

   sqlite_dbfile = /some/thing/sqlitedb
   domainlist relay_to_domains = sqlite;\
      select * from relays where ip='$sender_host_address';


However, when a domainlist defined in this manner is used, the lookup fails
with an error that suggests that the sqlite_dbfile setting is ignored, and the
deprecated method of "prefixing the query with the filename separated by white
space" is used instead to specify the path to the database:

2112 LOG: MAIN PANIC
2112 Tainted filename for search: 'select'
2112 LOG: MAIN PANIC DIE
2112 NULL

--
You are receiving this mail because:
You are on the CC list for the bug.