summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/scripts/5400-cutthrough/54012
-rw-r--r--test/stderr/037666
-rw-r--r--test/stderr/03984
-rw-r--r--test/stderr/04328
-rw-r--r--test/stderr/046212
-rw-r--r--test/stderr/04732
-rw-r--r--test/stderr/54037
-rw-r--r--test/stderr/54103
-rw-r--r--test/stderr/54203
-rw-r--r--test/stderr/58404
10 files changed, 56 insertions, 55 deletions
diff --git a/test/scripts/5400-cutthrough/5401 b/test/scripts/5400-cutthrough/5401
index 726d1f29e..b7837b342 100644
--- a/test/scripts/5400-cutthrough/5401
+++ b/test/scripts/5400-cutthrough/5401
@@ -51,8 +51,6 @@ QUIT
****
#
#
-# lose the cached callout fail record
-sudo rm DIR/spool/db/callout
#
# cutthrough for 2 recipients in one domain
# first one denied
diff --git a/test/stderr/0376 b/test/stderr/0376
index 310e1a101..664e248e2 100644
--- a/test/stderr/0376
+++ b/test/stderr/0376
@@ -21,9 +21,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<ok@localhost>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for localhost:
result=1 postmaster=0 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@localhost
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -90,9 +90,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<bad@localhost>
SMTP<< 550 REJECTED
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for localhost:
result=1 postmaster=0 random=0
-wrote negative callout cache address record
+wrote negative callout cache address record for bad@localhost
LOG: MAIN REJECT
H=[V4NET.0.0.1] U=root sender verify fail for <bad@localhost>: response to "RCPT TO:<bad@localhost>" from 127.0.0.1 [127.0.0.1] was: 550 REJECTED
LOG: MAIN REJECT
@@ -142,7 +142,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> MAIL FROM:<>
SMTP<< 550 REJECT MAIL FROM
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for localhost:
result=3 postmaster=0 random=0
LOG: MAIN REJECT
H=[V4NET.0.0.1] U=root sender verify fail for <ok@localhost>: response to "MAIL FROM:<>" from 127.0.0.1 [127.0.0.1] was: 550 REJECT MAIL FROM
@@ -201,9 +201,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@otherhost>
SMTP<< 550 NOT OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost:
result=1 postmaster=2 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@otherhost
LOG: MAIN REJECT
H=[V4NET.0.0.2] U=root sender verify fail for <ok@otherhost>: response to "RCPT TO:<postmaster@otherhost>" from 127.0.0.1 [127.0.0.1] was: 550 NOT OK
LOG: MAIN REJECT
@@ -261,9 +261,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@otherhost2>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost2:
result=1 postmaster=1 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@otherhost2
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -308,7 +308,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<myhost.test.ex-dddddddd-testing@otherhost3>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost3:
result=1 postmaster=0 random=1
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
@@ -352,7 +352,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<myhost.test.ex-dddddddd-testing@otherhost4>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost4:
result=1 postmaster=0 random=1
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
@@ -409,9 +409,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@otherhost41>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost41:
result=1 postmaster=1 random=2
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@otherhost41
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -464,9 +464,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@otherhost21>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost21:
result=1 postmaster=1 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@otherhost21
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -494,9 +494,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<ok2@otherhost21>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost21:
result=1 postmaster=1 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for ok2@otherhost21
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -529,9 +529,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<ok@otherhost31>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost31:
result=1 postmaster=0 random=2
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@otherhost31
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -559,9 +559,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<okok@otherhost31>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost31:
result=1 postmaster=0 random=2
-wrote positive callout cache address record
+wrote positive callout cache address record for okok@otherhost31
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -594,9 +594,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<okokok@otherhost31>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost31:
result=1 postmaster=0 random=2
-wrote positive callout cache address record
+wrote positive callout cache address record for okokok@otherhost31
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -622,7 +622,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP<< 250 OK
SMTP>> RCPT TO:<myhost.test.ex-dddddddd-testing@otherhost51>
SMTP timeout
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost51:
result=1 postmaster=0 random=0
LOG: MAIN REJECT
H=[V4NET.0.0.5] U=root sender verify defer for <okok@otherhost51>: Could not complete sender verify callout
@@ -661,9 +661,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@otherhost52>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost52:
result=1 postmaster=1 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for okokok@otherhost52
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -691,9 +691,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<abcd@x.y.z>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for x.y.z:
result=1 postmaster=0 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for abcd@x.y.z/<somesender@a.domain>
LOG: MAIN
<= ok7@otherhost53 H=[V4NET.0.0.7] U=root P=smtp S=sss
LOG: smtp_connection MAIN
@@ -722,7 +722,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP<< 250 OK
SMTP>> RCPT TO:<abcd@x.y.z>
SMTP timeout
-wrote callout cache domain record:
+wrote callout cache domain record for x.y.z:
result=1 postmaster=0 random=0
LOG: MAIN
<= ok7@otherhost53 H=[V4NET.0.0.8] U=root P=smtp S=sss
@@ -761,9 +761,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for otherhost9:
result=1 postmaster=1 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for ok@otherhost9
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -803,9 +803,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@test.ex>
SMTP<< 250 OK
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for test.ex:
result=1 postmaster=1 random=2
-wrote positive callout cache address record
+wrote positive callout cache address record for z@test.ex/<postmaster@myhost.test.ex>
LOG: smtp_connection MAIN
SMTP connection from root closed by QUIT
>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
diff --git a/test/stderr/0398 b/test/stderr/0398
index 17d580669..0a4d1fe23 100644
--- a/test/stderr/0398
+++ b/test/stderr/0398
@@ -143,10 +143,10 @@ EXIM_DBOPEN(TESTSUITE/spool/db/callout)
returned from EXIM_DBOPEN
opened hints database TESTSUITE/spool/db/callout: flags=O_RDWR|O_CREAT
dbfn_write: key=remote
-wrote callout cache domain record:
+wrote callout cache domain record for remote:
result=1 postmaster=0 random=0
dbfn_write: key=qq@remote
-wrote negative callout cache address record
+wrote negative callout cache address record for qq@remote
----------- end verify ------------
l_message: $acl_verify_message
warn: condition test succeeded in ACL "rcpt"
diff --git a/test/stderr/0432 b/test/stderr/0432
index 6a7aebe15..95a24a9eb 100644
--- a/test/stderr/0432
+++ b/test/stderr/0432
@@ -104,10 +104,10 @@ EXIM_DBOPEN(TESTSUITE/spool/db/callout)
returned from EXIM_DBOPEN
opened hints database TESTSUITE/spool/db/callout: flags=O_RDWR|O_CREAT
dbfn_write: key=y
-wrote callout cache domain record:
+wrote callout cache domain record for y:
result=1 postmaster=0 random=0
dbfn_write: key=x@y
-wrote positive callout cache address record
+wrote positive callout cache address record for x@y
----------- end verify ------------
sender x@y verified ok
accept: condition test succeeded in ACL "mail"
@@ -254,9 +254,9 @@ MUNGED: ::1 will be omitted in what follows
>>> SMTP>> RCPT TO:<a@b>
>>> SMTP<< 250 OK
>>> SMTP>> QUIT
->>> wrote callout cache domain record:
+>>> wrote callout cache domain record for b:
>>> result=1 postmaster=0 random=0
->>> wrote positive callout cache address record
+>>> wrote positive callout cache address record for a@b
>>> ----------- end verify ------------
>>> accept: condition test succeeded in ACL "mail"
>>> end of ACL "mail": ACCEPT
diff --git a/test/stderr/0462 b/test/stderr/0462
index 0d6d719cf..f8cb9b7c6 100644
--- a/test/stderr/0462
+++ b/test/stderr/0462
@@ -28,9 +28,9 @@ Cutthrough cancelled by presence of postmaster verify
SMTP>> RCPT TO:<postmaster@localhost>
SMTP<< 550 NO
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for localhost:
result=1 postmaster=2 random=0
-wrote positive callout cache address record
+wrote positive callout cache address record for Ok@localhost
LOG: MAIN REJECT
H=[V4NET.0.0.1] U=root sender verify fail for <Ok@localhost>: response to "RCPT TO:<postmaster@localhost>" from 127.0.0.1 [127.0.0.1] was: 550 NO
created log directory TESTSUITE/spool/log
@@ -70,9 +70,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<NOTok@elsewhere>
SMTP<< 550 NO
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for elsewhere:
result=1 postmaster=0 random=0
-wrote negative callout cache address record
+wrote negative callout cache address record for NOTok@elsewhere
LOG: MAIN REJECT
H=[V4NET.0.0.2] U=root sender verify fail for <NOTok@elsewhere>: response to "RCPT TO:<NOTok@elsewhere>" from 127.0.0.1 [127.0.0.1] was: 550 NO
LOG: MAIN REJECT
@@ -103,9 +103,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP>> RCPT TO:<NOTok2@elsewhere>
SMTP<< 550 NO
SMTP>> QUIT
-wrote callout cache domain record:
+wrote callout cache domain record for elsewhere:
result=1 postmaster=0 random=0
-wrote negative callout cache address record
+wrote negative callout cache address record for NOTok2@elsewhere
LOG: MAIN REJECT
H=[V4NET.0.0.2] U=root F=<NOTok2@elsewhere> rejected RCPT <nocheckpm@test.ex>: Sender verify failed
LOG: smtp_connection MAIN
diff --git a/test/stderr/0473 b/test/stderr/0473
index 257af6c38..3fd0cbb51 100644
--- a/test/stderr/0473
+++ b/test/stderr/0473
@@ -20,7 +20,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
SMTP<< 250 OK
SMTP>> RCPT TO:<r11@two.test.ex>
SMTP timeout
-wrote callout cache domain record:
+wrote callout cache domain record for two.test.ex:
result=1 postmaster=0 random=0
LOG: MAIN REJECT
U=CALLER F=<x11@two.test.ex> temporarily rejected RCPT r11@two.test.ex: Could not complete recipient verify callout
diff --git a/test/stderr/5403 b/test/stderr/5403
index 49d3574fe..b088f32f1 100644
--- a/test/stderr/5403
+++ b/test/stderr/5403
@@ -65,8 +65,7 @@ MUNGED: ::1 will be omitted in what follows
>>> name=127.0.0.1 address=127.0.0.1
>>> routed by all router
>>> Attempting full verification using callout
->>> callout cache: no domain record found for domain.com
->>> callout cache: no address record found for verify@domain.com/<CALLER@myhost.test.ex>
+>>> callout cache: disabled by no_cache
>>> interface=ip4.ip4.ip4.ip4 port=1224
>>> Connecting to 127.0.0.1 [127.0.0.1]:1224 from ip4.ip4.ip4.ip4 ... connected
>>> SMTP<< 220 server ready
@@ -78,9 +77,7 @@ MUNGED: ::1 will be omitted in what follows
>>> SMTP<< 250 OK
>>> SMTP>> RCPT TO:<verify@domain.com>
>>> SMTP<< 250 OK
->>> wrote callout cache domain record:
->>> result=1 postmaster=0 random=0
->>> wrote positive callout cache address record
+>>> holding verify callout open for cutthrough delivery
>>> ----------- end verify ------------
>>> warn: condition test succeeded in ACL "ar"
>>> processing "accept"
diff --git a/test/stderr/5410 b/test/stderr/5410
index 8762f82a1..1ed0824e8 100644
--- a/test/stderr/5410
+++ b/test/stderr/5410
@@ -116,6 +116,7 @@ considering: :}}
SMTP<< 250 OK
SMTP>> RCPT TO:<userx@domain.com>
SMTP<< 250 Accepted
+holding verify callout open for cutthrough delivery
----------- end cutthrough setup ------------
processing "accept"
accept: condition test succeeded in inline ACL
@@ -329,6 +330,7 @@ considering: *}{:}}
SMTP<< 250 OK
SMTP>> RCPT TO:<usery@domain.com>
SMTP<< 250 Accepted
+holding verify callout open for cutthrough delivery
----------- end cutthrough setup ------------
processing "accept"
accept: condition test succeeded in inline ACL
@@ -542,6 +544,7 @@ considering: *}{:}}
SMTP<< 250 OK
SMTP>> RCPT TO:<usery@domain.com>
SMTP<< 250 Accepted
+holding verify callout open for cutthrough delivery
----------- end cutthrough setup ------------
processing "accept"
accept: condition test succeeded in inline ACL
diff --git a/test/stderr/5420 b/test/stderr/5420
index f289d1a4c..05135dd5a 100644
--- a/test/stderr/5420
+++ b/test/stderr/5420
@@ -115,6 +115,7 @@ considering: :}}
SMTP<< 250 OK
SMTP>> RCPT TO:<userx@domain.com>
SMTP<< 250 Accepted
+holding verify callout open for cutthrough delivery
----------- end cutthrough setup ------------
processing "accept"
accept: condition test succeeded in inline ACL
@@ -328,6 +329,7 @@ considering: *}{:}}
SMTP<< 250 OK
SMTP>> RCPT TO:<usery@domain.com>
SMTP<< 250 Accepted
+holding verify callout open for cutthrough delivery
----------- end cutthrough setup ------------
processing "accept"
accept: condition test succeeded in inline ACL
@@ -541,6 +543,7 @@ considering: *}{:}}
SMTP<< 250 OK
SMTP>> RCPT TO:<usery@domain.com>
SMTP<< 250 Accepted
+holding verify callout open for cutthrough delivery
----------- end cutthrough setup ------------
processing "accept"
accept: condition test succeeded in inline ACL
diff --git a/test/stderr/5840 b/test/stderr/5840
index 91e80e8ea..250e606ca 100644
--- a/test/stderr/5840
+++ b/test/stderr/5840
@@ -51,9 +51,9 @@ MUNGED: ::1 will be omitted in what follows
>>> SMTP>> RCPT TO:<CALLER@dane256ee.test.ex>
>>> SMTP<< 250 Accepted
>>> SMTP>> QUIT
->>> wrote callout cache domain record:
+>>> wrote callout cache domain record for dane256ee.test.ex:
>>> result=1 postmaster=0 random=0
->>> wrote positive callout cache address record
+>>> wrote positive callout cache address record for CALLER@dane256ee.test.ex
>>> ----------- end verify ------------
>>> accept: condition test succeeded in inline ACL
>>> end of inline ACL: ACCEPT