From 99d03948a2265f0c96aecec3855a03618952cc14 Mon Sep 17 00:00:00 2001 From: Wolfgang Breyha Date: Fri, 19 Dec 2014 15:51:45 +0000 Subject: [PATCH] DSN: use the SMTP return messsage for Diagnostic-Code lines. Bug 1559 Minor tweaking by JH. --- test/mail/0211.CALLER | 6 +++--- test/mail/0253.lmn | 2 +- test/mail/0374.CALLER | 2 +- test/mail/0375.CALLER | 2 +- test/mail/0531.CALLER | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/mail/0211.CALLER b/test/mail/0211.CALLER index ab4609464..89eadf58d 100644 --- a/test/mail/0211.CALLER +++ b/test/mail/0211.CALLER @@ -35,7 +35,7 @@ Action: failed Final-Recipient: rfc822;userx@domain1 Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 550 Go away --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 @@ -95,12 +95,12 @@ Action: failed Final-Recipient: rfc822;userx@domain1 Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 550 Go away Action: failed Final-Recipient: rfc822;usery@domain2 Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 550 Go away --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 diff --git a/test/mail/0253.lmn b/test/mail/0253.lmn index 70cca8662..ea91b0187 100644 --- a/test/mail/0253.lmn +++ b/test/mail/0253.lmn @@ -38,7 +38,7 @@ Action: failed Final-Recipient: rfc822;fail@myhost.test.ex Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 550 Recipient not OK --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 diff --git a/test/mail/0374.CALLER b/test/mail/0374.CALLER index 6cbbe15a0..859d93d3b 100644 --- a/test/mail/0374.CALLER +++ b/test/mail/0374.CALLER @@ -42,7 +42,7 @@ Action: failed Final-Recipient: rfc822;d3@myhost.test.ex Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 550 hard error --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 diff --git a/test/mail/0375.CALLER b/test/mail/0375.CALLER index a2929c3c7..569d3f8bf 100644 --- a/test/mail/0375.CALLER +++ b/test/mail/0375.CALLER @@ -36,7 +36,7 @@ Action: failed Final-Recipient: rfc822;e1@myhost.test.ex Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 550 hard error --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 diff --git a/test/mail/0531.CALLER b/test/mail/0531.CALLER index 1d70d8a0a..4d714c756 100644 --- a/test/mail/0531.CALLER +++ b/test/mail/0531.CALLER @@ -33,7 +33,7 @@ Action: failed Final-Recipient: rfc822;userx@test.ex Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 450 TEMPERROR: retry timeout exceeded --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 @@ -85,7 +85,7 @@ Action: failed Final-Recipient: rfc822;userx@retry.test.ex Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; 0 +Diagnostic-Code: smtp; 450 TEMPERROR: retry timeout exceeded --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 @@ -139,7 +139,7 @@ Action: failed Final-Recipient: rfc822;userx@test.ex Status: 5.0.0 Remote-MTA: dns; 127.0.0.1 -Diagnostic-Code: smtp; -44 +Diagnostic-Code: smtp; 450 TEMPERROR: retry timeout exceeded --NNNNNNNNNN-eximdsn-MMMMMMMMMM Content-type: message/rfc822 -- 2.30.2