SECURITY: off-by-one in smtp transport (read response)
[exim.git] / test / stderr / 0403
1 Exim version x.yz ....
2 changed uid/gid: forcing real = effective
3   uid=uuuu gid=CALLER_GID pid=pppp
4 configuration file is TESTSUITE/test-config
5 admin user
6 changed uid/gid: privilege not needed
7   uid=EXIM_UID gid=EXIM_GID pid=pppp
8 seeking password data for user "CALLER": cache not available
9 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
10 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
11 sender address = CALLER@test.ex
12 set_process_info: pppp accepting a local non-SMTP message from <CALLER@test.ex>
13 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
14 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
15 Sender: CALLER@test.ex
16 Recipients:
17   userx@test.ex
18 search_tidyup called
19 >>Headers received:
20
21 rewrite_one_header: type=F:
22   From: CALLER_NAME <CALLER@test.ex>
23 search_tidyup called
24 >>Headers after rewriting and local additions:
25 I Message-Id: <E10HmaX-0005vi-00@mail.test.ex>
26 F From: CALLER_NAME <CALLER@test.ex>
27   Date: Tue, 2 Mar 1999 09:44:33 +0000
28
29 Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
30 Data file written for message 10HmaX-0005vi-00
31 >>Generated Received: header line
32 P Received: from CALLER by mail.test.ex with local (Exim x.yz)
33         (envelope-from <CALLER@test.ex>)
34         id 10HmaX-0005vi-00
35         for userx@test.ex;
36         Tue, 2 Mar 1999 09:44:33 +0000
37 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
38 DSN: **** SPOOL_OUT - address: <userx@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
39 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
40 Size of headers = sss
41 LOG: MAIN
42   <= CALLER@test.ex U=CALLER P=local S=sss
43 created log directory TESTSUITE/spool/log
44 search_tidyup called
45 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -N -odi -Mc 10HmaX-0005vi-00
46 Exim version x.yz ....
47 changed uid/gid: forcing real = effective
48   uid=uuuu gid=EXIM_GID pid=pppp
49 configuration file is TESTSUITE/test-config
50 trusted user
51 admin user
52 dropping to exim gid; retaining priv uid
53 seeking password data for user "CALLER": cache not available
54 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
55 set_process_info: pppp delivering specified messages
56 set_process_info: pppp delivering 10HmaX-0005vi-00
57 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
58 reading spool file 10HmaX-0005vi-00-H
59 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@test.ex
60 sender_local=1 ident=CALLER
61 Non-recipients:
62  Empty Tree
63 ---- End of tree ----
64 recipients_count=1
65 **** SPOOL_IN - No additional fields
66 body_linecount=0 message_linecount=8
67 DSN: set orcpt:   flags: 0x0
68 Delivery address list:
69   userx@test.ex 
70  locking TESTSUITE/spool/db/retry.lockfile
71  locked  TESTSUITE/spool/db/retry.lockfile
72  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
73  returned from EXIM_DBOPEN: (nil)
74  ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
75  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
76 no retry data available
77 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
78 Considering: userx@test.ex
79 unique = userx@test.ex
80 no   domain  retry record
81 no   address retry record
82 userx@test.ex: queued for routing
83 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
84 routing userx@test.ex
85 --------> r1 router <--------
86 local_part=userx domain=test.ex
87 checking domains
88 search_open: lsearch "TESTSUITE/aux-fixed/0403.data"
89 search_find: file="TESTSUITE/aux-fixed/0403.data"
90   key="test.ex" partial=-1 affix=NULL starflags=0 opts=NULL
91 LRU list:
92   0TESTSUITE/aux-fixed/0403.data
93   End
94 internal_search_find: file="TESTSUITE/aux-fixed/0403.data"
95   type=lsearch key="test.ex" opts=NULL
96 file lookup required for test.ex
97   in TESTSUITE/aux-fixed/0403.data
98 creating new cache entry
99 lookup yielded: [DOMAINDATA_test.ex]
100 test.ex in "lsearch;TESTSUITE/aux-fixed/0403.data"? yes (matched "lsearch;TESTSUITE/aux-fixed/0403.data")
101 checking local_parts
102 search_open: lsearch "TESTSUITE/aux-fixed/0403.data"
103   cached open
104 search_find: file="TESTSUITE/aux-fixed/0403.data"
105   key="userx" partial=-1 affix=NULL starflags=0 opts=NULL
106 LRU list:
107   0TESTSUITE/aux-fixed/0403.data
108   End
109 internal_search_find: file="TESTSUITE/aux-fixed/0403.data"
110   type=lsearch key="userx" opts=NULL
111 file lookup required for userx
112   in TESTSUITE/aux-fixed/0403.data
113 creating new cache entry
114 lookup yielded: [LOCALPARTDATA_userx]
115 userx in "lsearch;TESTSUITE/aux-fixed/0403.data"? yes (matched "lsearch;TESTSUITE/aux-fixed/0403.data")
116 +++ROUTER:
117 +++domain_data=[DOMAINDATA_test.ex]
118 +++local_part_data=[LOCALPARTDATA_userx]
119 +++address_data=
120 +++home=/usr
121 processing address_data
122 calling r1 router
123 rda_interpret (string): 'TESTSUITE/test-mail/junk'
124 expanded: 'TESTSUITE/test-mail/junk'
125 file is not a filter file
126 parse_forward_list: TESTSUITE/test-mail/junk
127 extract item: TESTSUITE/test-mail/junk
128 set transport t1
129 r1 router generated TESTSUITE/test-mail/junk
130   pipe, file, or autoreply
131   errors_to=NULL transport=t1
132   uid=unset gid=unset home=/usr
133 routed by r1 router
134   envelope to: userx@test.ex
135   transport: <none>
136  locking TESTSUITE/spool/db/retry.lockfile
137  locked  TESTSUITE/spool/db/retry.lockfile
138  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
139  returned from EXIM_DBOPEN: (nil)
140  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
141 no retry data available
142 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
143 Considering: TESTSUITE/test-mail/junk
144 unique = TESTSUITE/test-mail/junk:userx@test.ex
145 queued for t1 transport
146 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
147 After routing:
148   Local deliveries:
149     TESTSUITE/test-mail/junk
150   Remote deliveries:
151   Failed addresses:
152   Deferred addresses:
153 search_tidyup called
154 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
155 --------> TESTSUITE/test-mail/junk <--------
156  locking TESTSUITE/spool/db/retry.lockfile
157  locked  TESTSUITE/spool/db/retry.lockfile
158  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
159  returned from EXIM_DBOPEN: (nil)
160  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
161 no retry data available
162 search_tidyup called
163 changed uid/gid: local delivery to TESTSUITE/test-mail/junk <TESTSUITE/test-mail/junk> transport=t1
164   uid=CALLER_UID gid=CALLER_GID pid=pppp
165   home=/usr current=/usr
166 set_process_info: pppp delivering 10HmaX-0005vi-00 to TESTSUITE/test-mail/junk using t1
167 +++TRANSPORT:
168 +++domain_data=[DOMAINDATA_test.ex]
169 +++local_part_data=[LOCALPARTDATA_userx]
170 +++address_data=ADDRESSDATA
171 +++home=/usr
172 appendfile transport entered
173 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
174   file=TESTSUITE/test-mail/junk format=unix
175   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
176   message_suffix=\n
177   maildir_use_size_file=no
178   locking by lockfile fcntl 
179 *** delivery by t1 transport bypassed by -N option
180 search_tidyup called
181 journalling TESTSUITE/test-mail/junk:userx@test.ex
182 t1 transport returned OK for TESTSUITE/test-mail/junk
183 post-process TESTSUITE/test-mail/junk (0)
184 TESTSUITE/test-mail/junk delivered
185 userx@test.ex: children all complete
186 LOG: MAIN
187   *> TESTSUITE/test-mail/junk <userx@test.ex> R=r1 T=t1
188 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
189 changed uid/gid: post-delivery tidying
190   uid=EXIM_UID gid=EXIM_GID pid=pppp
191 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
192 DSN: processing router : r1
193 DSN: processing successful delivery address: TESTSUITE/test-mail/junk
194 DSN: Sender_address: CALLER@test.ex
195 DSN: orcpt: NULL  flags: 0x0
196 DSN: envid: NULL  ret: 0
197 DSN: Final recipient: TESTSUITE/test-mail/junk
198 DSN: Remote SMTP server supports DSN: 0
199 DSN: not sending DSN success message
200 DSN: processing router : r1
201 DSN: processing successful delivery address: userx@test.ex
202 DSN: Sender_address: CALLER@test.ex
203 DSN: orcpt: NULL  flags: 0x0
204 DSN: envid: NULL  ret: 0
205 DSN: Final recipient: userx@test.ex
206 DSN: Remote SMTP server supports DSN: 0
207 DSN: not sending DSN success message
208 LOG: MAIN
209   Completed
210 end delivery of 10HmaX-0005vi-00
211 search_tidyup called
212 search_tidyup called
213 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
214 search_tidyup called
215 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>