From 92914be2140997c19f610d7f5f17fa0d9c347b9c Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 31 Aug 2023 15:16:09 +0100 Subject: Avoid sending DSN when message was accepted under fakereject or fakedefer. Bug 3016 --- test/stdout/0612 | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) (limited to 'test/stdout') diff --git a/test/stdout/0612 b/test/stdout/0612 index 74c73019b..92b95b4e5 100644 --- a/test/stdout/0612 +++ b/test/stdout/0612 @@ -82,6 +82,35 @@ Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected <<< 250-DSN ??? 250 HELP <<< 250 HELP +>>> MAIL FROM: +??? 250 +<<< 250 OK +>>> RCPT TO: NOTIFY=success +??? 250 +<<< 250 Accepted +>>> DATA +??? 354 +<<< 354 Enter message, ending with "." on a line by itself +>>> Subject: test +>>> . +??? 250 +<<< 250 OK id=10HmbB-000000005vi-0000 +>>> QUIT +??? 221 +<<< 221 myhost.test.ex closing connection +End of script +Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> EHLO testclient +??? 250- +<<< 250-myhost.test.ex Hello testclient [ip4.ip4.ip4.ip4] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-DSN +<<< 250-DSN +??? 250 HELP +<<< 250 HELP >>> MAIL FROM: ??? 250 <<< 250 OK @@ -94,7 +123,7 @@ Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected >>> Subject: test >>> . ??? 250 -<<< 250 OK id=10HmbB-000000005vi-0000 +<<< 250 OK id=10HmbD-000000005vi-0000 >>> QUIT ??? 221 <<< 221 myhost.test.ex closing connection @@ -123,13 +152,13 @@ Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected >>> Subject: test >>> . ??? 250 -<<< 250 OK id=10HmbC-000000005vi-0000 +<<< 250 OK id=10HmbE-000000005vi-0000 >>> QUIT ??? 221 <<< 221 myhost.test.ex closing connection End of script -Message 10HmbB-000000005vi-0000 has been removed -Message 10HmbC-000000005vi-0000 has been removed +Message 10HmbD-000000005vi-0000 has been removed +Message 10HmbE-000000005vi-0000 has been removed Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected ??? 220 <<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 @@ -154,7 +183,7 @@ Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected >>> Subject: test >>> . ??? 250 -<<< 250 OK id=10HmbE-000000005vi-0000 +<<< 250 OK id=10HmbG-000000005vi-0000 >>> QUIT ??? 221 <<< 221 myhost.test.ex closing connection -- cgit v1.2.3