X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/47c4ed10319e4048b75b10103f514290b3a056ee..a1ebfb2e46e13ee87afc91856a4af38175735d74:/test/stderr/2620 diff --git a/test/stderr/2620 b/test/stderr/2620 index 40fc08f8a..05f2f445e 100644 --- a/test/stderr/2620 +++ b/test/stderr/2620 @@ -135,7 +135,7 @@ dropping to exim gid; retaining priv uid database lookup required for servers=x:localhost; select name from them where id='ph10'; PostgreSQL query: "servers=x:localhost; select name from them where id='ph10';" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in line 11 of -be stdin: WARNING: obsolete syntax used for lookup lookup deferred: PostgreSQL server "x" not found in pgsql_servers search_open: pgsql "NULL" @@ -148,7 +148,7 @@ LOG: MAIN database lookup required for servers=localhost::PORT_N:x; select name from them where id='ph10'; PostgreSQL query: "servers=localhost::PORT_N:x; select name from them where id='ph10';" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in line 12 of -be stdin: WARNING: obsolete syntax used for lookup PGSQL using cached connection for localhost:PORT_N/test/CALLER creating new cache entry @@ -163,11 +163,53 @@ LOG: MAIN database lookup required for servers=localhost::PORT_N/test/CALLER/:x; select name from them where id='ph10'; PostgreSQL query: "servers=localhost::PORT_N/test/CALLER/:x; select name from them where id='ph10';" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in line 13 of -be stdin: WARNING: obsolete syntax used for lookup PGSQL using cached connection for localhost:PORT_N/test/CALLER creating new cache entry lookup yielded: Philip░Hazel + search_open: pgsql "NULL" + cached open + search_find: file="NULL" + key="servers=127.0.0.1::PORT_N/test/CALLER/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL + LRU list: + internal_search_find: file="NULL" + type=pgsql key="servers=127.0.0.1::PORT_N/test/CALLER/:x; select name from them where id='ph10';" opts=NULL + database lookup required for servers=127.0.0.1::PORT_N/test/CALLER/:x; select name from them where id='ph10'; + PostgreSQL query: "servers=127.0.0.1::PORT_N/test/CALLER/:x; select name from them where id='ph10';" opts 'NULL' +LOG: MAIN + Exim configuration error in line 14 of -be stdin: + WARNING: obsolete syntax used for lookup + PGSQL new connection: host=127.0.0.1 port=PORT_N database=test user=CALLER + creating new cache entry + lookup yielded: Philip░Hazel + search_open: pgsql "NULL" + cached open + search_find: file="NULL" + key="servers=>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... @@ -268,7 +312,7 @@ log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 SMTP>> 250 OK SMTP<< rcpt to: using ACL "check_recipient" -processing "warn" (TESTSUITE/test-config 27) +processing ACL check_recipient "warn" (TESTSUITE/test-config 27) search_open: pgsql "NULL" search_find: file="NULL" key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL @@ -293,9 +337,10 @@ check set acl_m0 = ok: ${lookup pgsql {select name from the type=pgsql key="select name from them where id = 'c'" opts=NULL cached data found but no_rd option set; database lookup required for select name from them where id = 'c' (tainted) +No quoter name for addr LOG: MAIN PANIC tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 27): select name from them where id = 'c' - search_type NN (pgsql) quoting -1 (none) + required_quoter_id (pgsql) quoting -1 (NULL) PostgreSQL query: "select name from them where id = 'c'" opts 'NULL' PGSQL using cached connection for localhost:PORT_N/test/CALLER PGSQL: no data found @@ -303,8 +348,8 @@ LOG: MAIN PANIC lookup failed check set acl_m0 = FAIL: ${lookup pgsql,cache=no_rd {select name from them where id = '$local_part'}} = FAIL: -warn: condition test succeeded in ACL "check_recipient" -processing "warn" (TESTSUITE/test-config 32) +warn: condition test succeeded in ACL check_recipient +processing ACL check_recipient "warn" (TESTSUITE/test-config 32) search_open: pgsql "NULL" cached open search_find: file="NULL" @@ -348,13 +393,13 @@ check set acl_m0 = ok: ${lookup pgsql,servers=localhost::PORT_N {select nam (tainted, quoted:pgsql) PostgreSQL query: "servers=localhost::PORT_N/test/CALLER/; select name from them where id = 'c'" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in ACL verb at line 32 of TESTSUITE/test-config: WARNING: obsolete syntax used for lookup lookup deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -warn: condition test deferred in ACL "check_recipient" +warn: condition test deferred in ACL check_recipient LOG: MAIN - H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -processing "warn" (TESTSUITE/test-config 41) + H=(test) [10.0.0.0] Warning: ACL 'warn' statement skipped (in ACL check_recipient at line 32 of TESTSUITE/test-config): condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted +processing ACL check_recipient "warn" (TESTSUITE/test-config 41) check set acl_m0 = ok: hostlist check hosts = net-pgsql;select * from them where id='${quote_pgsql:$local_part}' host in "net-pgsql;select * from them where id='c'"? @@ -374,11 +419,12 @@ host in "net-pgsql;select * from them where id='c'"? creating new cache entry lookup failed host in "net-pgsql;select * from them where id='c'"? no (end of list) -warn: condition test failed in ACL "check_recipient" -processing "warn" (TESTSUITE/test-config 44) +warn: condition test failed in ACL check_recipient +processing ACL check_recipient "warn" (TESTSUITE/test-config 44) check set acl_m0 = FAIL: hostlist check hosts = <& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}' -host in "<& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? +list separator: '&' +host in " net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list element: net-pgsql;servers=localhost::PORT_N/test/CALLER/;░select░*░from░them░where░id='c' search_open: pgsql "NULL" cached open @@ -391,17 +437,18 @@ host in "<& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them (tainted, quoted:pgsql) PostgreSQL query: "servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in ACL verb at line 44 of TESTSUITE/test-config: WARNING: obsolete syntax used for lookup lookup deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -host in "<& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c' -warn: condition test deferred in ACL "check_recipient" +host in " net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c' +warn: condition test deferred in ACL check_recipient LOG: MAIN - H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -processing "warn" (TESTSUITE/test-config 49) + H=(test) [10.0.0.0] Warning: ACL 'warn' statement skipped (in ACL check_recipient at line 44 of TESTSUITE/test-config): condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted +processing ACL check_recipient "warn" (TESTSUITE/test-config 49) check set acl_m0 = FAIL: hostlist check hosts = <& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}' -host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? +list separator: '&' +host in " net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list element: net-pgsql,servers=localhost::PORT_N/test/CALLER/;░select░*░from░them░where░id='c' search_open: pgsql "NULL" cached open @@ -414,11 +461,11 @@ host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them (tainted, quoted:pgsql) PostgreSQL query: " select * from them where id='c'" opts 'servers=localhost::PORT_N/test/CALLER/' lookup deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c' -warn: condition test deferred in ACL "check_recipient" +host in " net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c' +warn: condition test deferred in ACL check_recipient LOG: MAIN - H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -processing "accept" (TESTSUITE/test-config 52) + H=(test) [10.0.0.0] Warning: ACL 'warn' statement skipped (in ACL check_recipient at line 49 of TESTSUITE/test-config): condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted +processing ACL check_recipient "accept" (TESTSUITE/test-config 52) check domains = +local_domains d in "+local_domains"? list element: +local_domains @@ -428,8 +475,8 @@ d in "+local_domains"? d in "@"? no (end of list) end sublist local_domains d in "+local_domains"? no (end of list) -accept: condition test failed in ACL "check_recipient" -processing "accept" (TESTSUITE/test-config 53) +accept: condition test failed in ACL check_recipient +processing ACL check_recipient "accept" (TESTSUITE/test-config 53) check hosts = +relay_hosts host in "+relay_hosts"? list element: +relay_hosts @@ -452,17 +499,17 @@ host in "+relay_hosts"? host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list) end sublist relay_hosts host in "+relay_hosts"? no (end of list) -accept: condition test failed in ACL "check_recipient" -processing "deny" (TESTSUITE/test-config 54) +accept: condition test failed in ACL check_recipient +processing ACL check_recipient "deny" (TESTSUITE/test-config 54) message: relay not permitted -deny: condition test succeeded in ACL "check_recipient" -end of ACL "check_recipient": DENY +deny: condition test succeeded in ACL check_recipient +end of ACL check_recipient: DENY SMTP>> 550 relay not permitted LOG: MAIN REJECT H=(test) [10.0.0.0] F= rejected RCPT : relay not permitted SMTP<< rcpt to: using ACL "check_recipient" -processing "warn" (TESTSUITE/test-config 27) +processing ACL check_recipient "warn" (TESTSUITE/test-config 27) search_open: pgsql "NULL" cached open search_find: file="NULL" @@ -488,9 +535,10 @@ check set acl_m0 = ok: ${lookup pgsql {select name from the type=pgsql key="select name from them where id = 'c'" opts=NULL cached data found but no_rd option set; database lookup required for select name from them where id = 'c' (tainted) +No quoter name for addr LOG: MAIN PANIC tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 27): select name from them where id = 'c' - search_type NN (pgsql) quoting -1 (none) + required_quoter_id (pgsql) quoting -1 (NULL) PostgreSQL query: "select name from them where id = 'c'" opts 'NULL' PGSQL using cached connection for localhost:PORT_N/test/CALLER PGSQL: no data found @@ -498,8 +546,8 @@ LOG: MAIN PANIC lookup failed check set acl_m0 = FAIL: ${lookup pgsql,cache=no_rd {select name from them where id = '$local_part'}} = FAIL: -warn: condition test succeeded in ACL "check_recipient" -processing "warn" (TESTSUITE/test-config 32) +warn: condition test succeeded in ACL check_recipient +processing ACL check_recipient "warn" (TESTSUITE/test-config 32) search_open: pgsql "NULL" cached open search_find: file="NULL" @@ -543,13 +591,13 @@ check set acl_m0 = ok: ${lookup pgsql,servers=localhost::PORT_N {select nam (tainted, quoted:pgsql) PostgreSQL query: "servers=localhost::PORT_N/test/CALLER/; select name from them where id = 'c'" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in ACL verb at line 32 of TESTSUITE/test-config: WARNING: obsolete syntax used for lookup lookup deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -warn: condition test deferred in ACL "check_recipient" +warn: condition test deferred in ACL check_recipient LOG: MAIN - H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -processing "warn" (TESTSUITE/test-config 41) + H=(test) [10.0.0.0] Warning: ACL 'warn' statement skipped (in ACL check_recipient at line 32 of TESTSUITE/test-config): condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted +processing ACL check_recipient "warn" (TESTSUITE/test-config 41) check set acl_m0 = ok: hostlist check hosts = net-pgsql;select * from them where id='${quote_pgsql:$local_part}' host in "net-pgsql;select * from them where id='c'"? @@ -564,11 +612,12 @@ host in "net-pgsql;select * from them where id='c'"? cached data used for lookup of select * from them where id='c' lookup failed host in "net-pgsql;select * from them where id='c'"? no (end of list) -warn: condition test failed in ACL "check_recipient" -processing "warn" (TESTSUITE/test-config 44) +warn: condition test failed in ACL check_recipient +processing ACL check_recipient "warn" (TESTSUITE/test-config 44) check set acl_m0 = FAIL: hostlist check hosts = <& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}' -host in "<& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? +list separator: '&' +host in " net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list element: net-pgsql;servers=localhost::PORT_N/test/CALLER/;░select░*░from░them░where░id='c' search_open: pgsql "NULL" cached open @@ -581,17 +630,18 @@ host in "<& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them (tainted, quoted:pgsql) PostgreSQL query: "servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'" opts 'NULL' LOG: MAIN - Exim configuration error in line 78 of TESTSUITE/test-config: + Exim configuration error in ACL verb at line 44 of TESTSUITE/test-config: WARNING: obsolete syntax used for lookup lookup deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -host in "<& net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c' -warn: condition test deferred in ACL "check_recipient" +host in " net-pgsql;servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c' +warn: condition test deferred in ACL check_recipient LOG: MAIN - H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -processing "warn" (TESTSUITE/test-config 49) + H=(test) [10.0.0.0] Warning: ACL 'warn' statement skipped (in ACL check_recipient at line 44 of TESTSUITE/test-config): condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted +processing ACL check_recipient "warn" (TESTSUITE/test-config 49) check set acl_m0 = FAIL: hostlist check hosts = <& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}' -host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? +list separator: '&' +host in " net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list element: net-pgsql,servers=localhost::PORT_N/test/CALLER/;░select░*░from░them░where░id='c' search_open: pgsql "NULL" cached open @@ -604,11 +654,11 @@ host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them (tainted, quoted:pgsql) PostgreSQL query: " select * from them where id='c'" opts 'servers=localhost::PORT_N/test/CALLER/' lookup deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c' -warn: condition test deferred in ACL "check_recipient" +host in " net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c' +warn: condition test deferred in ACL check_recipient LOG: MAIN - H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted -processing "accept" (TESTSUITE/test-config 52) + H=(test) [10.0.0.0] Warning: ACL 'warn' statement skipped (in ACL check_recipient at line 49 of TESTSUITE/test-config): condition test deferred: PostgreSQL server "localhost:PORT_N/test" is tainted +processing ACL check_recipient "accept" (TESTSUITE/test-config 52) check domains = +local_domains d in "+local_domains"? list element: +local_domains @@ -618,8 +668,8 @@ d in "+local_domains"? d in "@"? no (end of list) end sublist local_domains d in "+local_domains"? no (end of list) -accept: condition test failed in ACL "check_recipient" -processing "accept" (TESTSUITE/test-config 53) +accept: condition test failed in ACL check_recipient +processing ACL check_recipient "accept" (TESTSUITE/test-config 53) check hosts = +relay_hosts host in "+relay_hosts"? list element: +relay_hosts @@ -638,11 +688,11 @@ host in "+relay_hosts"? host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list) end sublist relay_hosts host in "+relay_hosts"? no (end of list) -accept: condition test failed in ACL "check_recipient" -processing "deny" (TESTSUITE/test-config 54) +accept: condition test failed in ACL check_recipient +processing ACL check_recipient "deny" (TESTSUITE/test-config 54) message: relay not permitted -deny: condition test succeeded in ACL "check_recipient" -end of ACL "check_recipient": DENY +deny: condition test succeeded in ACL check_recipient +end of ACL check_recipient: DENY SMTP>> 550 relay not permitted LOG: MAIN REJECT H=(test) [10.0.0.0] F= rejected RCPT : relay not permitted @@ -727,9 +777,6 @@ body_linecount=1 message_linecount=8 DSN: set orcpt: flags: 0x0 Delivery address list: CALLER@myhost.test.ex - EXIM_DBOPEN: file dir flags=O_RDONLY - returned from EXIM_DBOPEN: (nil) - failed to open DB file TESTSUITE/spool/db/retry: No such file or directory no retry data available >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Considering: CALLER@myhost.test.ex @@ -776,9 +823,6 @@ search_tidyup called close PGSQL connection: localhost:PORT_N/test/CALLER >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>> --------> CALLER@myhost.test.ex <-------- - EXIM_DBOPEN: file dir flags=O_RDONLY - returned from EXIM_DBOPEN: (nil) - failed to open DB file TESTSUITE/spool/db/retry: No such file or directory no retry data available search_tidyup called changed uid/gid: local delivery to CALLER transport=t1