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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to