Move ESMPT LIMITS extension from experimental to mainline
[exim.git] / test / stderr / 0044
index e8e4a384f3c0662bb348426c71c4ed83650921a5..47eb91f2324ec574f7d5e60deb78ced93c7ff48f 100644 (file)
@@ -1,10 +1,10 @@
 Exim version x.yz ....
 changed uid/gid: forcing real = effective
-  uid=uuuu gid=CALLER_GID pid=pppp
+  uid=uuuu gid=CALLER_GID pid=p1234
 configuration file is TESTSUITE/test-config
 admin user
 changed uid/gid: privilege not needed
-  uid=EXIM_UID gid=EXIM_GID pid=pppp
+  uid=EXIM_UID gid=EXIM_GID pid=p1234
 seeking password data for user "CALLER": cache not available
 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
@@ -25,15 +25,24 @@ host in helo_accept_junk_hosts? no (option unset)
 SMTP>> 220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
 smtp_setup_msg entered
 SMTP<< ehlo exim.test.ex
+exim.test.ex in helo_lookup_domains?
+ list element: @
+ list element: @[]
 exim.test.ex in helo_lookup_domains? no (end of list)
 sender_fullhost = (exim.test.ex) [V4NET.11.12.13]
 sender_rcvhost = [V4NET.11.12.13] (helo=exim.test.ex)
 set_process_info: pppp handling incoming connection from (exim.test.ex) [V4NET.11.12.13]
+ list element: *
+  host in limits_advertise_hosts? yes (matched "*")
 host in dsn_advertise_hosts? no (option unset)
-host in pipelining_advertise_hosts? yes (matched "*")
+host in pipelining_advertise_hosts?
+ list element: *
+  host in pipelining_advertise_hosts? yes (matched "*")
+host in chunking_advertise_hosts?
 host in chunking_advertise_hosts? no (end of list)
 SMTP>> 250-the.local.host.name Hello exim.test.ex [V4NET.11.12.13]
        250-SIZE 52428800
+       250-LIMITS MAILMAX=1000 RCPTMAX=50000
        250-8BITMIME
        250-PIPELINING
        250 HELP
@@ -45,13 +54,19 @@ SMTP<< rcpt to:<postmaster@exim.test.ex>
 using ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 19)
 check hosts = :
+host in ":"?
+ list element: 
 host in ":"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 20)
 check recipients = postmaster@exim.test.ex
-address match test: subject=postmaster@exim.test.ex pattern=postmaster@exim.test.ex
-exim.test.ex in "exim.test.ex"? yes (matched "exim.test.ex")
-postmaster@exim.test.ex in "postmaster@exim.test.ex"? yes (matched "postmaster@exim.test.ex")
+postmaster@exim.test.ex in "postmaster@exim.test.ex"?
+ list element: postmaster@exim.test.ex
+ address match test: subject=postmaster@exim.test.ex pattern=postmaster@exim.test.ex
+ exim.test.ex in "exim.test.ex"?
+  list element: exim.test.ex
+  exim.test.ex in "exim.test.ex"? yes (matched "exim.test.ex")
+ postmaster@exim.test.ex in "postmaster@exim.test.ex"? yes (matched "postmaster@exim.test.ex")
 accept: condition test succeeded in ACL "check_recipient"
 end of ACL "check_recipient": ACCEPT
 SMTP>> 250 Accepted
@@ -59,16 +74,22 @@ SMTP<< rcpt to:list@exim.test.ex
 using ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 19)
 check hosts = :
+host in ":"?
+ list element: 
 host in ":"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 20)
 check recipients = postmaster@exim.test.ex
-address match test: subject=list@exim.test.ex pattern=postmaster@exim.test.ex
+list@exim.test.ex in "postmaster@exim.test.ex"?
+ list element: postmaster@exim.test.ex
+ address match test: subject=list@exim.test.ex pattern=postmaster@exim.test.ex
 list@exim.test.ex in "postmaster@exim.test.ex"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 21)
 check senders = myfriend@*
-address match test: subject=postmaster@exim.test.ex pattern=myfriend@*
+postmaster@exim.test.ex in "myfriend@*"?
+ list element: myfriend@*
+ address match test: subject=postmaster@exim.test.ex pattern=myfriend@*
 postmaster@exim.test.ex in "myfriend@*"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "deny" (TESTSUITE/test-config 22)
@@ -92,16 +113,22 @@ SMTP<< rcpt to:list2@exim.test.ex
 using ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 19)
 check hosts = :
+host in ":"?
+ list element: 
 host in ":"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 20)
 check recipients = postmaster@exim.test.ex
-address match test: subject=list2@exim.test.ex pattern=postmaster@exim.test.ex
+list2@exim.test.ex in "postmaster@exim.test.ex"?
+ list element: postmaster@exim.test.ex
+ address match test: subject=list2@exim.test.ex pattern=postmaster@exim.test.ex
 list2@exim.test.ex in "postmaster@exim.test.ex"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 21)
 check senders = myfriend@*
-address match test: subject=postmaster@exim.test.ex pattern=myfriend@*
+postmaster@exim.test.ex in "myfriend@*"?
+ list element: myfriend@*
+ address match test: subject=postmaster@exim.test.ex pattern=myfriend@*
 postmaster@exim.test.ex in "myfriend@*"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "deny" (TESTSUITE/test-config 22)
@@ -123,30 +150,30 @@ host in ignore_fromline_hosts? no (option unset)
 >>Headers received:
 
 qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
 search_tidyup called
 >>Headers after rewriting and local additions:
 
-Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
-Data file written for message 10HmaX-0005vi-00
+Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
+Data file written for message 10HmaX-000000005vi-0000
 >>Generated Received: header line
 P Received: from [V4NET.11.12.13] (helo=exim.test.ex)
        by the.local.host.name with esmtp (Exim x.yz)
        (envelope-from <postmaster@exim.test.ex>)
-       id 10HmaX-0005vi-00
+       id 10HmaX-000000005vi-0000
        for postmaster@exim.test.ex;
        Tue, 2 Mar 1999 09:44:33 +0000
 LOG: MAIN
   <= postmaster@exim.test.ex H=(exim.test.ex) [V4NET.11.12.13] P=esmtp S=sss
-SMTP>> 250 OK id=10HmaX-0005vi-00
+SMTP>> 250 OK id=10HmaX-000000005vi-0000
 smtp_setup_msg entered
 SMTP<< quit
 SMTP>> 221 the.local.host.name closing connection
 LOG: smtp_connection MAIN
-  SMTP connection from (exim.test.ex) [V4NET.11.12.13] closed by QUIT
+  SMTP connection from (exim.test.ex) [V4NET.11.12.13] D=qqs closed by QUIT
 search_tidyup called
->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
 >>> host in hosts_connection_nolog? no (option unset)
 >>> host in host_lookup? no (option unset)
 >>> host in host_reject_connection? no (option unset)
@@ -155,34 +182,50 @@ search_tidyup called
 >>> host in helo_verify_hosts? no (option unset)
 >>> host in helo_try_verify_hosts? no (option unset)
 >>> host in helo_accept_junk_hosts? no (option unset)
+>>> exim.test.ex in helo_lookup_domains?
+>>>  list element: @
+>>>  list element: @[]
 >>> exim.test.ex in helo_lookup_domains? no (end of list)
+>>>  list element: *
+>>>  host in limits_advertise_hosts? yes (matched "*")
 >>> host in dsn_advertise_hosts? no (option unset)
->>> host in pipelining_advertise_hosts? yes (matched "*")
+>>> host in pipelining_advertise_hosts?
+>>>  list element: *
+>>>  host in pipelining_advertise_hosts? yes (matched "*")
+>>> host in chunking_advertise_hosts?
 >>> host in chunking_advertise_hosts? no (end of list)
 >>> using ACL "check_recipient"
 >>> processing "accept" (TESTSUITE/test-config 19)
 >>> check hosts = :
+>>> host in ":"?
+>>>  list element: 
 >>> host in ":"? no (end of list)
 >>> accept: condition test failed in ACL "check_recipient"
 >>> processing "accept" (TESTSUITE/test-config 20)
 >>> check recipients = postmaster@exim.test.ex
+>>> list@exim.test.ex in "postmaster@exim.test.ex"?
+>>>  list element: postmaster@exim.test.ex
 >>> list@exim.test.ex in "postmaster@exim.test.ex"? no (end of list)
 >>> accept: condition test failed in ACL "check_recipient"
 >>> processing "accept" (TESTSUITE/test-config 21)
 >>> check senders = myfriend@*
->>> there.test.ex in "*"? yes (matched "*")
->>> myfriend@there.test.ex in "myfriend@*"? yes (matched "myfriend@*")
+>>> myfriend@there.test.ex in "myfriend@*"?
+>>>  list element: myfriend@*
+>>>  there.test.ex in "*"?
+>>>   list element: *
+>>>   there.test.ex in "*"? yes (matched "*")
+>>>  myfriend@there.test.ex in "myfriend@*"? yes (matched "myfriend@*")
 >>> accept: condition test succeeded in ACL "check_recipient"
 >>> end of ACL "check_recipient": ACCEPT
 >>> host in ignore_fromline_hosts? no (option unset)
-LOG: 10HmaY-0005vi-00 <= myfriend@there.test.ex H=(exim.test.ex) [V4NET.11.12.13] P=esmtp S=sss
+LOG: 10HmaY-000000005vi-0000 <= myfriend@there.test.ex H=(exim.test.ex) [V4NET.11.12.13] P=esmtp S=sss
 Exim version x.yz ....
 changed uid/gid: forcing real = effective
-  uid=uuuu gid=CALLER_GID pid=pppp
+  uid=uuuu gid=CALLER_GID pid=p1235
 configuration file is TESTSUITE/test-config
 admin user
 changed uid/gid: privilege not needed
-  uid=EXIM_UID gid=EXIM_GID pid=pppp
+  uid=EXIM_UID gid=EXIM_GID pid=p1235
 seeking password data for user "CALLER": cache not available
 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
@@ -203,15 +246,24 @@ host in helo_accept_junk_hosts? no (option unset)
 SMTP>> 220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
 smtp_setup_msg entered
 SMTP<< ehlo exim.test.ex
+exim.test.ex in helo_lookup_domains?
+ list element: @
+ list element: @[]
 exim.test.ex in helo_lookup_domains? no (end of list)
 sender_fullhost = (exim.test.ex) [V4NET.99.99.99]
 sender_rcvhost = [V4NET.99.99.99] (helo=exim.test.ex)
 set_process_info: pppp handling incoming connection from (exim.test.ex) [V4NET.99.99.99]
+ list element: *
+  host in limits_advertise_hosts? yes (matched "*")
 host in dsn_advertise_hosts? no (option unset)
-host in pipelining_advertise_hosts? yes (matched "*")
+host in pipelining_advertise_hosts?
+ list element: *
+  host in pipelining_advertise_hosts? yes (matched "*")
+host in chunking_advertise_hosts?
 host in chunking_advertise_hosts? no (end of list)
 SMTP>> 250-the.local.host.name Hello exim.test.ex [V4NET.99.99.99]
        250-SIZE 52428800
+       250-LIMITS MAILMAX=1000 RCPTMAX=50000
        250-8BITMIME
        250-PIPELINING
        250 HELP
@@ -223,16 +275,22 @@ SMTP<< rcpt to:list@exim.test.ex
 using ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 19)
 check hosts = :
+host in ":"?
+ list element: 
 host in ":"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 20)
 check recipients = postmaster@exim.test.ex
-address match test: subject=list@exim.test.ex pattern=postmaster@exim.test.ex
+list@exim.test.ex in "postmaster@exim.test.ex"?
+ list element: postmaster@exim.test.ex
+ address match test: subject=list@exim.test.ex pattern=postmaster@exim.test.ex
 list@exim.test.ex in "postmaster@exim.test.ex"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "accept" (TESTSUITE/test-config 21)
 check senders = myfriend@*
-address match test: subject=postmaster@exim.test.ex pattern=myfriend@*
+postmaster@exim.test.ex in "myfriend@*"?
+ list element: myfriend@*
+ address match test: subject=postmaster@exim.test.ex pattern=myfriend@*
 postmaster@exim.test.ex in "myfriend@*"? no (end of list)
 accept: condition test failed in ACL "check_recipient"
 processing "deny" (TESTSUITE/test-config 22)
@@ -261,6 +319,8 @@ routing postmaster@exim.test.ex
 --------> localuser router <--------
 local_part=postmaster domain=exim.test.ex
 checking local_parts
+postmaster in "userx"?
+ list element: userx
 postmaster in "userx"? no (end of list)
 localuser router skipped: local_parts mismatch
 no more routers
@@ -278,4 +338,4 @@ SMTP>> 421 the.local.host.name lost input connection
 LOG: lost_incoming_connection MAIN
   unexpected disconnection while reading SMTP command from (exim.test.ex) [V4NET.99.99.99] D=qqs
 search_tidyup called
->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>