X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/7d5055276a22a91de71104775ade236051cebefc..385926596e8a8378c5bbae65181a4f5d37b21043:/test/stderr/0471 diff --git a/test/stderr/0471 b/test/stderr/0471 index 7e4d62809..19058d4ff 100644 --- a/test/stderr/0471 +++ b/test/stderr/0471 @@ -25880,6 +25880,13 @@ P Received: from CALLER by myhost.test.ex with local (Exim x.yz) id 10HmaX-0005vi-00 for r1@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +using ACL "check" +processing "warn" (TESTSUITE/test-config 15) +check !verify = header_syntax +warn: condition test failed in ACL "check" +processing "accept" (TESTSUITE/test-config 17) +accept: condition test succeeded in ACL "check" +end of ACL "check": ACCEPT Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00 DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H @@ -26046,6 +26053,13 @@ P Received: from CALLER by myhost.test.ex with local (Exim x.yz) id 10HmaY-0005vi-00 for r2@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +using ACL "check" +processing "warn" (TESTSUITE/test-config 15) +check !verify = header_syntax +warn: condition test failed in ACL "check" +processing "accept" (TESTSUITE/test-config 17) +accept: condition test succeeded in ACL "check" +end of ACL "check": ACCEPT Writing spool header file: TESTSUITE/spool//input//hdr.10HmaY-0005vi-00 DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 Renaming spool header file: TESTSUITE/spool//input//10HmaY-0005vi-00-H @@ -26211,6 +26225,13 @@ P Received: from CALLER by myhost.test.ex with local (Exim x.yz) id 10HmaZ-0005vi-00 for r3@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +using ACL "check" +processing "warn" (TESTSUITE/test-config 15) +check !verify = header_syntax +warn: condition test failed in ACL "check" +processing "accept" (TESTSUITE/test-config 17) +accept: condition test succeeded in ACL "check" +end of ACL "check": ACCEPT Writing spool header file: TESTSUITE/spool//input//hdr.10HmaZ-0005vi-00 DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 Renaming spool header file: TESTSUITE/spool//input//10HmaZ-0005vi-00-H @@ -26304,8 +26325,71 @@ rewrite headers To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example LOG: MAIN rewrite: address is ridiculously long: localpart_with_256_chars_567890123456789012345678901234567890123... - search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=p1237 (fresh-exec) terminating with rc=1 >>>>>>>>>>>>>>>> + rewrite_one_header: type=F: + From: CALLER_NAME + address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@* + compiled RE '^.{40,}@*' found in local cache + CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list) + address match test: subject=CALLER@myhost.test.ex pattern=*@* + myhost.test.ex in "*"? yes (matched "*") + CALLER@myhost.test.ex in "*@*"? yes (matched "*@*") + search_open: lsearch "TESTSUITE/aux-fixed/0471.rw" + cached open + search_find: file="TESTSUITE/aux-fixed/0471.rw" + key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL + LRU list: + 0TESTSUITE/aux-fixed/0471.rw + End + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="myhost.test.ex" opts=NULL + cached data used for lookup of myhost.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed + trying partial match *.myhost.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.myhost.test.ex" opts=NULL + cached data used for lookup of *.myhost.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed + trying partial match *.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.test.ex" opts=NULL + cached data used for lookup of *.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed +search_tidyup called +>>Headers after rewriting and local additions: +T To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example +I Message-Id: +F From: CALLER_NAME + Date: Tue, 2 Mar 1999 09:44:33 +0000 + +Data file name: TESTSUITE/spool//input//10HmbA-0005vi-00-D +Data file written for message 10HmbA-0005vi-00 +>>Generated Received: header line +P Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from ) + id 10HmbA-0005vi-00 + for r4@test.ex; + Tue, 2 Mar 1999 09:44:33 +0000 +using ACL "check" +processing "warn" (TESTSUITE/test-config 15) +check !verify = header_syntax +check logwrite = verify header_syntax fails +LOG: MAIN + verify header_syntax fails +warn: condition test succeeded in ACL "check" +processing "accept" (TESTSUITE/test-config 17) +accept: condition test succeeded in ACL "check" +end of ACL "check": ACCEPT +Writing spool header file: TESTSUITE/spool//input//hdr.10HmbA-0005vi-00 +DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 +Renaming spool header file: TESTSUITE/spool//input//10HmbA-0005vi-00-H +Size of headers = sss +LOG: MAIN + <= CALLER@myhost.test.ex U=CALLER P=local S=sss +search_tidyup called +>>>>>>>>>>>>>>>> Exim pid=p1237 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=p1238 @@ -26436,6 +26520,13 @@ P Received: from CALLER by myhost.test.ex with local (Exim x.yz) id 10HmbB-0005vi-00 for r5@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +using ACL "check" +processing "warn" (TESTSUITE/test-config 15) +check !verify = header_syntax +warn: condition test failed in ACL "check" +processing "accept" (TESTSUITE/test-config 17) +accept: condition test succeeded in ACL "check" +end of ACL "check": ACCEPT Writing spool header file: TESTSUITE/spool//input//hdr.10HmbB-0005vi-00 DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 Renaming spool header file: TESTSUITE/spool//input//10HmbB-0005vi-00-H @@ -26444,3 +26535,153 @@ LOG: MAIN <= CALLER@myhost.test.ex U=CALLER P=local S=sss search_tidyup called >>>>>>>>>>>>>>>> Exim pid=p1238 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +changed uid/gid: forcing real = effective + uid=uuuu gid=CALLER_GID pid=p1239 +configuration file is TESTSUITE/test-config +admin user +changed uid/gid: privilege not needed + uid=EXIM_UID gid=EXIM_GID pid=p1239 +originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME +sender address = CALLER@myhost.test.ex +set_process_info: pppp accepting a local non-SMTP message from +spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0 +log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 +Sender: CALLER@myhost.test.ex +Recipients: + r6@test.ex +search_tidyup called +>>Headers received: +To: fred@ + +qualify & rewrite recipients list + address match test: subject=r6@test.ex pattern=^.{40,}@* + compiled RE '^.{40,}@*' not found in local cache + compiled RE '^.{40,}@*' saved in local cache + r6@test.ex in "^.{40,}@*"? no (end of list) + address match test: subject=r6@test.ex pattern=*@* + test.ex in "*"? yes (matched "*") + r6@test.ex in "*@*"? yes (matched "*@*") + search_open: lsearch "TESTSUITE/aux-fixed/0471.rw" + search_find: file="TESTSUITE/aux-fixed/0471.rw" + key="test.ex" partial=2 affix=*. starflags=0 opts=NULL + LRU list: + 0TESTSUITE/aux-fixed/0471.rw + End + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="test.ex" opts=NULL + file lookup required for test.ex + in TESTSUITE/aux-fixed/0471.rw + creating new cache entry + lookup failed + trying partial match *.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.test.ex" opts=NULL + file lookup required for *.test.ex + in TESTSUITE/aux-fixed/0471.rw + creating new cache entry + lookup failed +global rewrite rules + address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@* + compiled RE '^.{40,}@*' found in local cache + CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list) + address match test: subject=CALLER@myhost.test.ex pattern=*@* + myhost.test.ex in "*"? yes (matched "*") + CALLER@myhost.test.ex in "*@*"? yes (matched "*@*") + search_open: lsearch "TESTSUITE/aux-fixed/0471.rw" + cached open + search_find: file="TESTSUITE/aux-fixed/0471.rw" + key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL + LRU list: + 0TESTSUITE/aux-fixed/0471.rw + End + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="myhost.test.ex" opts=NULL + file lookup required for myhost.test.ex + in TESTSUITE/aux-fixed/0471.rw + creating new cache entry + lookup failed + trying partial match *.myhost.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.myhost.test.ex" opts=NULL + file lookup required for *.myhost.test.ex + in TESTSUITE/aux-fixed/0471.rw + creating new cache entry + lookup failed + trying partial match *.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.test.ex" opts=NULL + cached data used for lookup of *.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed +rewritten sender = CALLER@myhost.test.ex +rewrite headers + rewrite_one_header: type=T: + To: fred@ +LOG: MAIN + rewrite: domain missing or malformed + rewrite_one_header: type=F: + From: CALLER_NAME + address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@* + compiled RE '^.{40,}@*' found in local cache + CALLER@myhost.test.ex in "^.{40,}@*"? no (end of list) + address match test: subject=CALLER@myhost.test.ex pattern=*@* + myhost.test.ex in "*"? yes (matched "*") + CALLER@myhost.test.ex in "*@*"? yes (matched "*@*") + search_open: lsearch "TESTSUITE/aux-fixed/0471.rw" + cached open + search_find: file="TESTSUITE/aux-fixed/0471.rw" + key="myhost.test.ex" partial=2 affix=*. starflags=0 opts=NULL + LRU list: + 0TESTSUITE/aux-fixed/0471.rw + End + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="myhost.test.ex" opts=NULL + cached data used for lookup of myhost.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed + trying partial match *.myhost.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.myhost.test.ex" opts=NULL + cached data used for lookup of *.myhost.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed + trying partial match *.test.ex + internal_search_find: file="TESTSUITE/aux-fixed/0471.rw" + type=lsearch key="*.test.ex" opts=NULL + cached data used for lookup of *.test.ex + in TESTSUITE/aux-fixed/0471.rw + lookup failed +search_tidyup called +>>Headers after rewriting and local additions: +T To: fred@ +I Message-Id: +F From: CALLER_NAME + Date: Tue, 2 Mar 1999 09:44:33 +0000 + +Data file name: TESTSUITE/spool//input//10HmbC-0005vi-00-D +Data file written for message 10HmbC-0005vi-00 +>>Generated Received: header line +P Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from ) + id 10HmbC-0005vi-00 + for r6@test.ex; + Tue, 2 Mar 1999 09:44:33 +0000 +using ACL "check" +processing "warn" (TESTSUITE/test-config 15) +check !verify = header_syntax +check logwrite = verify header_syntax fails +LOG: MAIN + verify header_syntax fails +warn: condition test succeeded in ACL "check" +processing "accept" (TESTSUITE/test-config 17) +accept: condition test succeeded in ACL "check" +end of ACL "check": ACCEPT +Writing spool header file: TESTSUITE/spool//input//hdr.10HmbC-0005vi-00 +DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 +Renaming spool header file: TESTSUITE/spool//input//10HmbC-0005vi-00-H +Size of headers = sss +LOG: MAIN + <= CALLER@myhost.test.ex U=CALLER P=local S=sss +search_tidyup called +>>>>>>>>>>>>>>>> Exim pid=p1239 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>