X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/64226a31616e631b9e10f7897d603cdf9847a458..4f05f0f1dbdcfa60930e7a8182ae7756cede4314:/test/stderr/2620 diff --git a/test/stderr/2620 b/test/stderr/2620 index a32994c26..dd6466bc4 100644 --- a/test/stderr/2620 +++ b/test/stderr/2620 @@ -2,6 +2,7 @@ WARNING: enabling "trust" authentication for local connections initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Exim version x.yz .... +Hints DB: configuration file is TESTSUITE/test-config admin user dropping to exim gid; retaining priv uid @@ -98,7 +99,7 @@ dropping to exim gid; retaining priv uid PostgreSQL query: "select * from them where id='newline';" opts 'NULL' PGSQL using cached connection for localhost:PORT_N/test/CALLER creating new cache entry - lookup yielded: name="before ↩ + lookup yielded: name="before␍↩ after"░id=newline░ search_open: pgsql "NULL" cached open @@ -111,7 +112,7 @@ dropping to exim gid; retaining priv uid PostgreSQL query: "select * from them where id='tab';" opts 'NULL' PGSQL using cached connection for localhost:PORT_N/test/CALLER creating new cache entry - lookup yielded: name="x x"░id=tab░ + lookup yielded: name="x␉x"░id=tab░ search_open: pgsql "NULL" cached open search_find: file="NULL" @@ -134,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" @@ -147,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 @@ -162,7 +163,7 @@ 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 @@ -177,7 +178,7 @@ LOG: MAIN database lookup required for servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10'; PostgreSQL query: "servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/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 14 of -be stdin: WARNING: obsolete syntax used for lookup PGSQL new connection: socket=TESTSUITE/pgsql/.s.PGSQL.1223 database=test user=CALLER creating new cache entry @@ -226,6 +227,7 @@ close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER close PGSQL connection: localhost:PORT_N/test/CALLER >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... +Hints DB: changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=p1236 configuration file is TESTSUITE/test-config @@ -266,7 +268,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 @@ -291,9 +293,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 @@ -301,8 +304,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" @@ -346,17 +349,17 @@ 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) +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'"? - list element: net-pgsql;select * from them where id='c' + list element: net-pgsql;select░*░from░them░where░id='c' search_open: pgsql "NULL" cached open search_find: file="NULL" @@ -372,12 +375,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 element: 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 search_find: file="NULL" @@ -389,18 +392,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" +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) +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 element: 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 search_find: file="NULL" @@ -413,10 +416,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) +processing ACL check_recipient "accept" (TESTSUITE/test-config 52) check domains = +local_domains d in "+local_domains"? list element: +local_domains @@ -426,14 +429,14 @@ 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 start sublist relay_hosts host in "net-pgsql;select * from them where id='10.0.0.0'"? - ╎list element: net-pgsql;select * from them where id='10.0.0.0' + ╎list element: net-pgsql;select░*░from░them░where░id='10.0.0.0' ╎search_open: pgsql "NULL" ╎ cached open ╎search_find: file="NULL" @@ -450,17 +453,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" @@ -486,9 +489,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 @@ -496,8 +500,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" @@ -541,17 +545,17 @@ 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) +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'"? - list element: net-pgsql;select * from them where id='c' + list element: net-pgsql;select░*░from░them░where░id='c' search_open: pgsql "NULL" cached open search_find: file="NULL" @@ -562,12 +566,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 element: 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 search_find: file="NULL" @@ -579,18 +583,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" +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) +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 element: 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 search_find: file="NULL" @@ -603,10 +607,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) +processing ACL check_recipient "accept" (TESTSUITE/test-config 52) check domains = +local_domains d in "+local_domains"? list element: +local_domains @@ -616,14 +620,14 @@ 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 start sublist relay_hosts host in "net-pgsql;select * from them where id='10.0.0.0'"? - ╎list element: net-pgsql;select * from them where id='10.0.0.0' + ╎list element: net-pgsql;select░*░from░them░where░id='10.0.0.0' ╎search_open: pgsql "NULL" ╎ cached open ╎search_find: file="NULL" @@ -636,11 +640,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 @@ -652,6 +656,7 @@ search_tidyup called close PGSQL connection: localhost:PORT_N/test/CALLER >>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... +Hints DB: changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=p1237 configuration file is TESTSUITE/test-config @@ -700,6 +705,7 @@ created log directory TESTSUITE/spool/log search_tidyup called exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000 Exim version x.yz .... +Hints DB: changed uid/gid: forcing real = effective uid=uuuu gid=EXIM_GID pid=p1238 configuration file is TESTSUITE/test-config @@ -723,17 +729,13 @@ body_linecount=1 message_linecount=8 DSN: set orcpt: flags: 0x0 Delivery address list: CALLER@myhost.test.ex - locking TESTSUITE/spool/db/retry.lockfile - locked TESTSUITE/spool/db/retry.lockfile - 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 @@ -773,11 +775,6 @@ search_tidyup called close PGSQL connection: localhost:PORT_N/test/CALLER >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>> --------> CALLER@myhost.test.ex <-------- - locking TESTSUITE/spool/db/retry.lockfile - locked TESTSUITE/spool/db/retry.lockfile - 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 +811,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 +823,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 @@ -847,6 +845,7 @@ search_tidyup called search_tidyup called >>>>>>>>>>>>>>>> Exim pid=p1237 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... +Hints DB: configuration file is TESTSUITE/test-config admin user dropping to exim gid; retaining priv uid