Event for auth fail
[exim.git] / test / stderr / 0471
index 7e4d62809921405f7add7ce5ba1ad51c64cd9522..19058d4ff82ff8306c82fe1aa5b6d3edf1bb8832 100644 (file)
@@ -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: <r1@test.ex> errorsto: <NULL> orcpt: <NULL> 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: <r2@test.ex> errorsto: <NULL> orcpt: <NULL> 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: <r3@test.ex> errorsto: <NULL> orcpt: <NULL> 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 <CALLER@myhost.test.ex>
+ 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: <E10HmbA-0005vi-00@myhost.test.ex>
+F From: CALLER_NAME <CALLER@myhost.test.ex>
+  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 <CALLER@myhost.test.ex>)
+       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: <r4@test.ex> errorsto: <NULL> orcpt: <NULL> 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: <r5@test.ex> errorsto: <NULL> orcpt: <NULL> 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 <CALLER@myhost.test.ex>
+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 <CALLER@myhost.test.ex>
+ 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: <E10HmbC-0005vi-00@myhost.test.ex>
+F From: CALLER_NAME <CALLER@myhost.test.ex>
+  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 <CALLER@myhost.test.ex>)
+       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: <r6@test.ex> errorsto: <NULL> orcpt: <NULL> 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 >>>>>>>>>>>>>>>>