Logging: Add "D=" to more connection closure log lines. Bug 2434
[exim.git] / test / stderr / 2610
index 5306d85822806bd661ef42112f2cd7b5752f390f..435da7644be532bfcb576c5a4ae43acbcb71b538 100644 (file)
@@ -255,6 +255,9 @@ host in helo_accept_junk_hosts? no (option unset)
 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
 smtp_setup_msg entered
 SMTP<< helo test
+test in helo_lookup_domains?
+ list element: @
+ list element: @[]
 test in helo_lookup_domains? no (end of list)
 sender_fullhost = (test) [10.0.0.0]
 sender_rcvhost = [10.0.0.0] (helo=test)
@@ -352,36 +355,40 @@ LOG: MAIN
 processing "warn" (TESTSUITE/test-config 40)
 check set acl_m0 = ok:   hostlist
 check hosts = net-mysql;select * from them where id='${quote_mysql:$local_part}'
-search_open: mysql "NULL"
-  cached open
-search_find: file="NULL"
-  key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
-LRU list:
-internal_search_find: file="NULL"
-  type=mysql key="select * from them where id='c'" opts=NULL
-database lookup required for select * from them where id='c'
-                             (tainted, quoted:mysql)
-MySQL query: "select * from them where id='c'" opts 'NULL'
-MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
-MYSQL: no data found
-creating new cache entry
-lookup failed
+host in "net-mysql;select * from them where id='c'"?
+ list element: net-mysql;select * from them where id='c'
+ search_open: mysql "NULL"
+   cached open
+ search_find: file="NULL"
+   key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
+ LRU list:
+ internal_search_find: file="NULL"
+   type=mysql key="select * from them where id='c'" opts=NULL
+ database lookup required for select * from them where id='c'
+                              (tainted, quoted:mysql)
+ MySQL query: "select * from them where id='c'" opts 'NULL'
+ MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
+ MYSQL: no data found
+ creating new cache entry
+ lookup failed
 host in "net-mysql;select * from them where id='c'"? no (end of list)
 warn: condition test failed in ACL "check_recipient"
 processing "warn" (TESTSUITE/test-config 43)
 check set acl_m0 = FAIL: hostlist
 check hosts = <& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
-search_open: mysql "NULL"
-  cached open
-search_find: file="NULL"
-  key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
-LRU list:
-internal_search_find: file="NULL"
-  type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts=NULL
-database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
-                             (tainted, quoted:mysql)
-MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts 'NULL'
-lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
+host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
+ list element: net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
+ search_open: mysql "NULL"
+   cached open
+ search_find: file="NULL"
+   key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
+ LRU list:
+ internal_search_find: file="NULL"
+   type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts=NULL
+ database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
+                              (tainted, quoted:mysql)
+ MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts 'NULL'
+ lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
 host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"? list match deferred for net-mysql;servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'
 warn: condition test deferred in ACL "check_recipient"
 LOG: MAIN
@@ -389,42 +396,56 @@ LOG: MAIN
 processing "warn" (TESTSUITE/test-config 48)
 check set acl_m0 = FAIL: hostlist
 check hosts = <& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
-search_open: mysql "NULL"
-  cached open
-search_find: file="NULL"
-  key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
-LRU list:
-internal_search_find: file="NULL"
-  type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
-database lookup required for  select * from them where id='c'
-                             (tainted, quoted:mysql)
-MySQL query: " select * from them where id='c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
-lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
+host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
+ list element: net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
+ search_open: mysql "NULL"
+   cached open
+ search_find: file="NULL"
+   key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
+ LRU list:
+ internal_search_find: file="NULL"
+   type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
+ database lookup required for  select * from them where id='c'
+                              (tainted, quoted:mysql)
+ MySQL query: " select * from them where id='c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
+ lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
 host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"? list match deferred for net-mysql,servers=127.0.0.1::1223/test/root/pass; 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: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
 processing "accept" (TESTSUITE/test-config 51)
 check domains = +local_domains
-d in "@"? no (end of list)
+d in "+local_domains"?
+ list element: +local_domains
+  start sublist local_domains
+   d in "@"?
+   ╎list element: @
+   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 54)
 check hosts = +relay_hosts
-search_open: mysql "NULL"
-  cached open
-search_find: file="NULL"
-  key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
-LRU list:
-internal_search_find: file="NULL"
-  type=mysql key="select * from them where id='10.0.0.0'" opts=NULL
-database lookup required for select * from them where id='10.0.0.0'
-MySQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
-MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
-MYSQL: no data found
-creating new cache entry
-lookup failed
-host in "net-mysql;select * from them where id='10.0.0.0'"? no (end of list)
+host in "+relay_hosts"?
+ list element: +relay_hosts
+  start sublist relay_hosts
+  host in "net-mysql;select * from them where id='10.0.0.0'"?
+   ╎list element: net-mysql;select * from them where id='10.0.0.0'
+   ╎search_open: mysql "NULL"
+   ╎  cached open
+   ╎search_find: file="NULL"
+   ╎  key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
+   ╎LRU list:
+   ╎internal_search_find: file="NULL"
+   ╎  type=mysql key="select * from them where id='10.0.0.0'" opts=NULL
+   ╎database lookup required for select * from them where id='10.0.0.0'
+   ╎MySQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
+   ╎MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
+   ╎MYSQL: no data found
+   ╎creating new cache entry
+   ╎lookup failed
+  host in "net-mysql;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 55)
@@ -437,7 +458,7 @@ LOG: MAIN REJECT
 SMTP<< quit
 SMTP>> 221 myhost.test.ex closing connection
 LOG: smtp_connection MAIN
-  SMTP connection from (test) [10.0.0.0] closed by QUIT
+  SMTP connection from (test) [10.0.0.0] D=qqs closed by QUIT
 search_tidyup called
 close MYSQL connection: 127.0.0.1:PORT_N/test/root
 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>