Use smtp_setup_conn() for verify callout
[exim.git] / test / stderr / 0432
CommitLineData
54c5ebb1
PH
1>>> host in hosts_connection_nolog? no (option unset)
2>>> host in host_lookup? no (option unset)
3>>> host in host_reject_connection? no (option unset)
4>>> host in sender_unqualified_hosts? no (option unset)
5>>> host in recipient_unqualified_hosts? no (option unset)
6>>> host in helo_verify_hosts? no (option unset)
7>>> host in helo_try_verify_hosts? no (option unset)
8>>> host in helo_accept_junk_hosts? no (option unset)
9>>> using ACL "mail"
10>>> processing "accept"
11>>> check verify = sender/callout=1s,maxwait=1s
12>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13>>> routing x@y
14>>> calling r1 router
15>>> routed by r1 router
16>>> local host found for non-MX address
54c5ebb1
PH
17MUNGED: ::1 will be omitted in what follows
18>>> get[host|ipnode]byname[2] looked up these IP addresses:
19>>> name=127.0.0.1 address=127.0.0.1
20>>> Attempting full verification using callout
21>>> ... callout omitted by default when host testing
22>>> (Use -bhc if you want the callouts to happen.)
23>>> ----------- end verify ------------
6968512f 24>>> accept: condition test succeeded in ACL "mail"
a7538db1 25>>> end of ACL "mail": ACCEPT
54c5ebb1
PH
26Exim version x.yz ....
27changed uid/gid: forcing real = effective
28 uid=uuuu gid=CALLER_GID pid=pppp
29configuration file is TESTSUITE/test-config
30admin user
31changed uid/gid: privilege not needed
32 uid=EXIM_UID gid=EXIM_GID pid=pppp
50dc7409 33DSN: r1 propagating DSN
54c5ebb1
PH
34originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
35sender address = CALLER@myhost.test.ex
36sender_fullhost = [1.2.3.4]
37sender_rcvhost = [1.2.3.4]
38host in hosts_connection_nolog? no (option unset)
39LOG: smtp_connection MAIN
40 SMTP connection from [1.2.3.4]
41host in host_lookup? no (option unset)
42set_process_info: pppp handling incoming connection from [1.2.3.4]
43host in host_reject_connection? no (option unset)
44host in sender_unqualified_hosts? no (option unset)
45host in recipient_unqualified_hosts? no (option unset)
46host in helo_verify_hosts? no (option unset)
47host in helo_try_verify_hosts? no (option unset)
48host in helo_accept_junk_hosts? no (option unset)
898d150f 49SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
54c5ebb1
PH
50smtp_setup_msg entered
51SMTP<< mail from:<x@y>
ddf1b11a 52spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
ad424056 53log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
54c5ebb1
PH
54using ACL "mail"
55processing "accept"
56check verify = sender/callout=1s,maxwait=1s
57>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
58Verifying x@y
59>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
60Considering x@y
61>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
62routing x@y
63--------> r1 router <--------
64local_part=x domain=y
65calling r1 router
66r1 router called for x@y
67 domain = y
68set transport t1
69queued for t1 transport: local_part = x
70domain = y
71 errors_to=NULL
72 domain_data=NULL localpart_data=NULL
73routed by r1 router
74 envelope to: x@y
75 transport: t1
76using host_fake_gethostbyname for 127.0.0.1 (IPv4)
77local host found for non-MX address
54c5ebb1
PH
78MUNGED: ::1 will be omitted in what follows
79get[host|ipnode]byname[2] looked up these IP addresses:
80 name=127.0.0.1 address=127.0.0.1
81Attempting full verification using callout
82locking TESTSUITE/spool/db/callout.lockfile
7b4c8c1f 83locked TESTSUITE/spool/db/callout.lockfile
54c5ebb1
PH
84EXIM_DBOPEN(TESTSUITE/spool/db/callout)
85returned from EXIM_DBOPEN
86opened hints database TESTSUITE/spool/db/callout: flags=O_RDWR
87dbfn_read: key=y
6f4d5ad3 88callout cache: no domain record found for y
54c5ebb1 89dbfn_read: key=x@y
6f4d5ad3 90callout cache: no address record found for x@y
7b4c8c1f 91closed hints database and lockfile
7eb59ff9 92interface=NULL port=1224
cb340d8d 93Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
54c5ebb1 94 SMTP<< 220 server ready
cb9d95ae
JH
95127.0.0.1 in hosts_avoid_esmtp? no (option unset)
96 SMTP>> EHLO myhost.test.ex
76003495 97cmd buf flush ddd bytes
54c5ebb1 98 SMTP<< 250 OK
02b41d71
JH
99not using PIPELINING
100not using DSN
fcc8e047 101127.0.0.1 in hosts_require_auth? no (option unset)
54c5ebb1 102 SMTP>> MAIL FROM:<>
76003495 103cmd buf flush ddd bytes
54c5ebb1
PH
104 SMTP<< 250 OK
105 SMTP>> RCPT TO:<x@y>
76003495 106cmd buf flush ddd bytes
54c5ebb1
PH
107 SMTP<< 250 OK
108 SMTP>> QUIT
76003495 109cmd buf flush ddd bytes
2760b518 110 SMTP<< 220 OK
ae5afa61 111 SMTP(close)>>
54c5ebb1 112locking TESTSUITE/spool/db/callout.lockfile
7b4c8c1f 113locked TESTSUITE/spool/db/callout.lockfile
54c5ebb1
PH
114EXIM_DBOPEN(TESTSUITE/spool/db/callout)
115returned from EXIM_DBOPEN
116opened hints database TESTSUITE/spool/db/callout: flags=O_RDWR|O_CREAT
117dbfn_write: key=y
8b9476ba 118wrote callout cache domain record for y:
54c5ebb1
PH
119 result=1 postmaster=0 random=0
120dbfn_write: key=x@y
8b9476ba 121wrote positive callout cache address record for x@y
7b4c8c1f 122closed hints database and lockfile
54c5ebb1
PH
123----------- end verify ------------
124sender x@y verified ok
6968512f 125accept: condition test succeeded in ACL "mail"
a7538db1 126end of ACL "mail": ACCEPT
898d150f 127SMTP>> 250 OK
54c5ebb1 128SMTP<< quit
898d150f 129SMTP>> 221 myhost.test.ex closing connection
54c5ebb1
PH
130LOG: smtp_connection MAIN
131 SMTP connection from [1.2.3.4] closed by QUIT
132search_tidyup called
133>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
134Exim version x.yz ....
135changed uid/gid: forcing real = effective
136 uid=uuuu gid=CALLER_GID pid=pppp
137configuration file is TESTSUITE/test-config
138admin user
139changed uid/gid: privilege not needed
140 uid=EXIM_UID gid=EXIM_GID pid=pppp
50dc7409 141DSN: r1 propagating DSN
54c5ebb1
PH
142originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
143sender address = CALLER@myhost.test.ex
144sender_fullhost = [1.2.3.4]
145sender_rcvhost = [1.2.3.4]
146host in hosts_connection_nolog? no (option unset)
147LOG: smtp_connection MAIN
148 SMTP connection from [1.2.3.4]
149host in host_lookup? no (option unset)
150set_process_info: pppp handling incoming connection from [1.2.3.4]
151host in host_reject_connection? no (option unset)
152host in sender_unqualified_hosts? no (option unset)
153host in recipient_unqualified_hosts? no (option unset)
154host in helo_verify_hosts? no (option unset)
155host in helo_try_verify_hosts? no (option unset)
156host in helo_accept_junk_hosts? no (option unset)
898d150f 157SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
54c5ebb1
PH
158smtp_setup_msg entered
159SMTP<< mail from:<x@y>
ddf1b11a 160spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
ad424056 161log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
54c5ebb1
PH
162using ACL "mail"
163processing "accept"
164check verify = sender/callout=1s,maxwait=1s
165>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
166Verifying x@y
167>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
168Considering x@y
169>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
170routing x@y
171--------> r1 router <--------
172local_part=x domain=y
173calling r1 router
174r1 router called for x@y
175 domain = y
176set transport t1
177queued for t1 transport: local_part = x
178domain = y
179 errors_to=NULL
180 domain_data=NULL localpart_data=NULL
181routed by r1 router
182 envelope to: x@y
183 transport: t1
184using host_fake_gethostbyname for 127.0.0.1 (IPv4)
185local host found for non-MX address
54c5ebb1
PH
186MUNGED: ::1 will be omitted in what follows
187get[host|ipnode]byname[2] looked up these IP addresses:
188 name=127.0.0.1 address=127.0.0.1
189Attempting full verification using callout
190locking TESTSUITE/spool/db/callout.lockfile
7b4c8c1f 191locked TESTSUITE/spool/db/callout.lockfile
54c5ebb1
PH
192EXIM_DBOPEN(TESTSUITE/spool/db/callout)
193returned from EXIM_DBOPEN
194opened hints database TESTSUITE/spool/db/callout: flags=O_RDWR
195dbfn_read: key=y
6f4d5ad3 196callout cache: found domain record for y
54c5ebb1 197dbfn_read: key=x@y
6f4d5ad3 198callout cache: found address record for x@y
54c5ebb1 199callout cache: address record is positive
7b4c8c1f 200closed hints database and lockfile
54c5ebb1
PH
201----------- end verify ------------
202sender x@y verified ok
6968512f 203accept: condition test succeeded in ACL "mail"
a7538db1 204end of ACL "mail": ACCEPT
898d150f 205SMTP>> 250 OK
54c5ebb1 206SMTP<< quit
898d150f 207SMTP>> 221 myhost.test.ex closing connection
54c5ebb1
PH
208LOG: smtp_connection MAIN
209 SMTP connection from [1.2.3.4] closed by QUIT
210search_tidyup called
211>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
212>>> host in hosts_connection_nolog? no (option unset)
213>>> host in host_lookup? no (option unset)
214>>> host in host_reject_connection? no (option unset)
215>>> host in sender_unqualified_hosts? no (option unset)
216>>> host in recipient_unqualified_hosts? no (option unset)
217>>> host in helo_verify_hosts? no (option unset)
218>>> host in helo_try_verify_hosts? no (option unset)
219>>> host in helo_accept_junk_hosts? no (option unset)
220>>> using ACL "mail"
221>>> processing "accept"
222>>> check verify = sender/callout=1s,maxwait=1s
223>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
224>>> routing x@y
225>>> calling r1 router
226>>> routed by r1 router
227>>> local host found for non-MX address
54c5ebb1
PH
228MUNGED: ::1 will be omitted in what follows
229>>> get[host|ipnode]byname[2] looked up these IP addresses:
230>>> name=127.0.0.1 address=127.0.0.1
231>>> Attempting full verification using callout
6f4d5ad3
JH
232>>> callout cache: found domain record for y
233>>> callout cache: found address record for x@y
54c5ebb1
PH
234>>> callout cache: address record is positive
235>>> ----------- end verify ------------
6968512f 236>>> accept: condition test succeeded in ACL "mail"
a7538db1 237>>> end of ACL "mail": ACCEPT
54c5ebb1
PH
238>>> host in hosts_connection_nolog? no (option unset)
239>>> host in host_lookup? no (option unset)
240>>> host in host_reject_connection? no (option unset)
241>>> host in sender_unqualified_hosts? no (option unset)
242>>> host in recipient_unqualified_hosts? no (option unset)
243>>> host in helo_verify_hosts? no (option unset)
244>>> host in helo_try_verify_hosts? no (option unset)
245>>> host in helo_accept_junk_hosts? no (option unset)
246>>> using ACL "mail"
247>>> processing "accept"
248>>> check verify = sender/callout=1s,maxwait=1s
249>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
250>>> routing a@b
251>>> calling r1 router
252>>> routed by r1 router
253>>> local host found for non-MX address
54c5ebb1
PH
254MUNGED: ::1 will be omitted in what follows
255>>> get[host|ipnode]byname[2] looked up these IP addresses:
256>>> name=127.0.0.1 address=127.0.0.1
257>>> Attempting full verification using callout
6f4d5ad3
JH
258>>> callout cache: no domain record found for b
259>>> callout cache: no address record found for a@b
7eb59ff9 260>>> interface=NULL port=1224
7373d852 261>>> Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
54c5ebb1 262>>> SMTP<< 220 server ready
cb9d95ae
JH
263>>> 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
264>>> SMTP>> EHLO myhost.test.ex
58fc5fb2 265>>> cmd buf flush 21 bytes
54c5ebb1 266>>> SMTP<< 250 OK
fcc8e047 267>>> 127.0.0.1 in hosts_require_auth? no (option unset)
54c5ebb1 268>>> SMTP>> MAIL FROM:<>
58fc5fb2 269>>> cmd buf flush 14 bytes
54c5ebb1
PH
270>>> SMTP<< 250 OK
271>>> SMTP>> RCPT TO:<a@b>
58fc5fb2 272>>> cmd buf flush 15 bytes
54c5ebb1
PH
273>>> SMTP<< 250 OK
274>>> SMTP>> QUIT
58fc5fb2 275>>> cmd buf flush 6 bytes
2760b518 276>>> SMTP<< 220 OK
ae5afa61 277>>> SMTP(close)>>
8b9476ba 278>>> wrote callout cache domain record for b:
54c5ebb1 279>>> result=1 postmaster=0 random=0
8b9476ba 280>>> wrote positive callout cache address record for a@b
54c5ebb1 281>>> ----------- end verify ------------
6968512f 282>>> accept: condition test succeeded in ACL "mail"
a7538db1 283>>> end of ACL "mail": ACCEPT
54c5ebb1
PH
284>>> host in hosts_connection_nolog? no (option unset)
285>>> host in host_lookup? no (option unset)
286>>> host in host_reject_connection? no (option unset)
287>>> host in sender_unqualified_hosts? no (option unset)
288>>> host in recipient_unqualified_hosts? no (option unset)
289>>> host in helo_verify_hosts? no (option unset)
290>>> host in helo_try_verify_hosts? no (option unset)
291>>> host in helo_accept_junk_hosts? no (option unset)
292>>> using ACL "mail"
293>>> processing "accept"
294>>> check verify = sender/callout=1s,maxwait=1s
295>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
296>>> routing p1@q
297>>> calling r1 router
298>>> routed by r1 router
299>>> local host found for non-MX address
54c5ebb1
PH
300MUNGED: ::1 will be omitted in what follows
301>>> get[host|ipnode]byname[2] looked up these IP addresses:
302>>> name=127.0.0.1 address=127.0.0.1
303>>> Attempting full verification using callout
6f4d5ad3
JH
304>>> callout cache: no domain record found for q
305>>> callout cache: no address record found for p1@q
7eb59ff9 306>>> interface=NULL port=1224
7373d852 307>>> Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
54c5ebb1 308>>> SMTP<< 220 server ready
cb9d95ae
JH
309>>> 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
310>>> SMTP>> EHLO myhost.test.ex
58fc5fb2 311>>> cmd buf flush 21 bytes
ae5afa61 312>>> SMTP(close)>>
02b41d71 313>>> SMTP timeout
54c5ebb1 314>>> ----------- end verify ------------
6968512f 315>>> accept: condition test deferred in ACL "mail"
02b41d71 316LOG: H=[1.2.3.4] sender verify defer for <p1@q>: Could not complete sender verify callout: 127.0.0.1 [127.0.0.1] SMTP timeout after EHLO myhost.test.ex
54c5ebb1 317LOG: H=[1.2.3.4] temporarily rejected MAIL <p1@q>: Could not complete sender verify callout