X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/36bee217cba7c61313cce8e4a4a0c477db421dd0..a1ebfb2e46e13ee87afc91856a4af38175735d74:/test/stderr/2620?ds=inline diff --git a/test/stderr/2620 b/test/stderr/2620 index ad5ac2be7..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,15 +777,13 @@ 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 unique = CALLER@myhost.test.ex -no domain retry record -no address retry record +checking router retry status + no domain retry record + no address retry record CALLER@myhost.test.ex: queued for routing >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> routing CALLER@myhost.test.ex @@ -775,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 @@ -814,6 +859,7 @@ writing data block fd=dddd size=sss timeout=0 appendfile yields 0 with errno=dd more_errno=dd search_tidyup called close PGSQL connection: localhost:PORT_N/test/CALLER +>>>>>>>>>>>>>>>> Exim pid=p1239 (delivery-local) terminating with rc=0 >>>>>>>>>>>>>>>> journalling CALLER@myhost.test.ex t1 transport returned OK for CALLER@myhost.test.ex post-process CALLER@myhost.test.ex (0) @@ -825,10 +871,10 @@ changed uid/gid: post-delivery tidying uid=EXIM_UID gid=EXIM_GID pid=p1238 set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000 Processing retry items -Succeeded addresses: - CALLER@myhost.test.ex: no retry items -Failed addresses: -Deferred addresses: + Succeeded addresses: + CALLER@myhost.test.ex: no retry items + Failed addresses: + Deferred addresses: end of retry processing DSN: processing router : r1 DSN: processing successful delivery address: CALLER@myhost.test.ex