X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/a7ea53c5ccf6c81c4716f17428646d0f55f1bed3..06ab4fd01a24734c2269a982f0fca847304785f5:/test/stderr/2620 diff --git a/test/stderr/2620 b/test/stderr/2620 index 6446d6912..fe7459356 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,8 +419,8 @@ 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'"? @@ -391,14 +436,14 @@ 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" +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'"? @@ -415,10 +460,10 @@ host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them 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" +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 +473,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 +497,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 +533,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 +544,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 +589,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,8 +610,8 @@ 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'"? @@ -581,14 +627,14 @@ 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" +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'"? @@ -605,10 +651,10 @@ host in "<& net-pgsql,servers=localhost::PORT_N/test/CALLER/; select * from them 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" +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 +664,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 +684,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 +773,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 +819,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 @@ -826,10 +867,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