Rewrites: avoid a split log line when rewiting hits a malformed address. Bug 3160
[exim.git] / test / stderr / 0465
1 Exim version x.yz ....
2 changed uid/gid: forcing real = effective
3   uid=uuuu gid=CALLER_GID pid=p1234
4 seeking password data for user "CALLER": cache not available
5 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
6 configuration file is TESTSUITE/test-config
7 trusted user
8 admin user
9 changed uid/gid: privilege not needed
10   uid=EXIM_UID gid=EXIM_GID pid=p1234
11 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
12 sender address = NULL
13 set_process_info: pppp accepting a local SMTP message from <CALLER>
14  in hosts_connection_nolog? no (option unset)
15 LOG: smtp_connection MAIN
16   SMTP connection from CALLER
17 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
18 smtp_setup_msg entered
19 SMTP<< helo test
20 SMTP>> 250 myhost.test.ex Hello CALLER at test
21 SMTP<< mail from:<>
22 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
23 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
24 SMTP>> 250 OK
25 SMTP<< rcpt to:<abc@domain.>
26 LOG: smtp_syntax_error MAIN
27   SMTP syntax error in "rcpt to:<abc@domain.>" U=CALLER domain missing or malformed
28 SMTP>> 501 <abc@domain.>: domain missing or malformed
29 SMTP<< quit
30 SMTP>> 221 myhost.test.ex closing connection
31 LOG: smtp_connection MAIN
32   SMTP connection from CALLER D=qqs closed by QUIT
33 search_tidyup called
34 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
35 exim: bad -f address "abc@somewhere.": domain is malformed (trailing dot not allowed)
36 Exim version x.yz ....
37 changed uid/gid: forcing real = effective
38   uid=uuuu gid=CALLER_GID pid=p1235
39 seeking password data for user "CALLER": cache not available
40 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
41 configuration file is TESTSUITE/test-config
42 trusted user
43 admin user
44 changed uid/gid: privilege not needed
45   uid=EXIM_UID gid=EXIM_GID pid=p1235
46 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
47 sender address = NULL
48 set_process_info: pppp accepting a local SMTP message from <CALLER>
49  in hosts_connection_nolog? no (option unset)
50 LOG: smtp_connection MAIN
51   SMTP connection from CALLER
52 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
53 smtp_setup_msg entered
54 SMTP<< helo test
55 SMTP>> 250 myhost.test.ex Hello CALLER at test
56 SMTP<< mail from:<>
57 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
58 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
59 SMTP>> 250 OK
60 SMTP<< rcpt to:<abc@domain.>
61 processing "accept" (TESTSUITE/test-config 22)
62 accept: condition test succeeded in inline ACL
63 end of inline ACL: ACCEPT
64 SMTP>> 250 Accepted
65 SMTP<< data
66 SMTP>> 354 Enter message, ending with "." on a line by itself
67 search_tidyup called
68 >>Headers received:
69 To: abc@domain.
70
71 qualify & rewrite recipients list
72 rewrite rules on sender address
73 qualify and rewrite headers
74  rewrite_one_header: type=T:
75    To: abc@domain.
76 search_tidyup called
77 >>Headers after rewriting and local additions:
78  T To: abc@domain.
79  I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
80    Date: Tue, 2 Mar 1999 09:44:33 +0000
81
82 Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
83 Data file written for message 10HmaY-000000005vi-0000
84 >>Generated Received: header line
85 P Received: from CALLER (helo=test)
86         by myhost.test.ex with local-smtp (Exim x.yz)
87         id 10HmaY-000000005vi-0000
88         for abc@domain;
89         Tue, 2 Mar 1999 09:44:33 +0000
90 using ACL "check_data"
91 processing "accept" (TESTSUITE/test-config 20)
92 check verify = header_syntax
93 accept: condition test succeeded in ACL "check_data"
94 end of ACL "check_data": ACCEPT
95 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaY-000000005vi-0000
96 DSN: **** SPOOL_OUT - address: <abc@domain> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
97 Renaming spool header file: TESTSUITE/spool//input//10HmaY-000000005vi-0000-H
98 Size of headers = sss
99 LOG: MAIN
100   <= <> U=CALLER P=local-smtp S=sss
101 created log directory TESTSUITE/spool/log
102 SMTP>> 250 OK id=10HmaY-000000005vi-0000
103 smtp_setup_msg entered
104 SMTP<< quit
105 SMTP>> 221 myhost.test.ex closing connection
106 LOG: smtp_connection MAIN
107   SMTP connection from CALLER D=qqs closed by QUIT
108 search_tidyup called
109 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
110 Exim version x.yz ....
111 changed uid/gid: forcing real = effective
112   uid=uuuu gid=CALLER_GID pid=p1236
113 seeking password data for user "CALLER": cache not available
114 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
115 configuration file is TESTSUITE/test-config
116 trusted user
117 admin user
118 changed uid/gid: privilege not needed
119   uid=EXIM_UID gid=EXIM_GID pid=p1236
120 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
121 sender address = NULL
122 set_process_info: pppp accepting a local SMTP message from <CALLER>
123  in hosts_connection_nolog? no (option unset)
124 LOG: smtp_connection MAIN
125   SMTP connection from CALLER
126 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
127 smtp_setup_msg entered
128 SMTP<< helo test
129 SMTP>> 250 myhost.test.ex Hello CALLER at test
130 SMTP<< mail from:<>
131 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
132 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
133 SMTP>> 250 OK
134 SMTP<< rcpt to:<abc@xyz>
135 processing "accept" (TESTSUITE/test-config 22)
136 accept: condition test succeeded in inline ACL
137 end of inline ACL: ACCEPT
138 SMTP>> 250 Accepted
139 SMTP<< data
140 SMTP>> 354 Enter message, ending with "." on a line by itself
141 search_tidyup called
142 >>Headers received:
143 To: abc@xyz.
144
145 qualify & rewrite recipients list
146 rewrite rules on sender address
147 qualify and rewrite headers
148  rewrite_one_header: type=T:
149    To: abc@xyz.
150 search_tidyup called
151 >>Headers after rewriting and local additions:
152  T To: abc@xyz.
153  I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
154    Date: Tue, 2 Mar 1999 09:44:33 +0000
155
156 Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
157 Data file written for message 10HmaX-000000005vi-0000
158 >>Generated Received: header line
159 P Received: from CALLER (helo=test)
160         by myhost.test.ex with local-smtp (Exim x.yz)
161         id 10HmaX-000000005vi-0000
162         for abc@xyz;
163         Tue, 2 Mar 1999 09:44:33 +0000
164 using ACL "check_data"
165 processing "accept" (TESTSUITE/test-config 20)
166 check verify = header_syntax
167 accept: condition test failed in ACL "check_data"
168 end of ACL "check_data": implicit DENY
169 SMTP>> 550 Administrative prohibition
170 LOG: MAIN REJECT
171   U=CALLER F=<> rejected after DATA: domain missing or malformed: failing address in "To:" header is: abc@xyz.
172 smtp_setup_msg entered
173 SMTP<< quit
174 SMTP>> 221 myhost.test.ex closing connection
175 LOG: smtp_connection MAIN
176   SMTP connection from CALLER D=qqs closed by QUIT
177 search_tidyup called
178 >>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>