ronysebastian / nhin-d

Automatically exported from code.google.com/p/nhin-d
0 stars 0 forks source link

DSN failure message in the Java RI do not contain a Date field #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send a message to a Java RI that uses org level certificates
2. Send to an address in the recieving HISP that does not exist in the 
recieving HISP (but the domain is valid).

What is the expected output? What do you see instead?

The receiving HISP should send a DSN failure message indicating that the 
address does not exist.  The DSN message is getting produced, but it is missing 
the "Date:" header.

Original issue reported on code.google.com by gm2...@cerner.com on 9 Nov 2012 at 4:14

GoogleCodeExporter commented 9 years ago
Defect validated.  The following is an example DSN message produced by the Java 
RI V 2.0 (gateway-2.0.2.jar).

From: postmaster@direct.securehealthemail.com
To: testuser@direct.careevolutiondirect.com
Message-ID: 
<22145060.5.1352477333288.JavaMail.postmaster@direct.securehealthemail.com>
in-reply-to: <b24e0d8d035c4e4fa4a44bad285226f5@ip-0abfb331>
Subject: Undeliverable: bogus email
MIME-Version: 1.0
Content-Type: multipart/report;
        boundary="----=_Part_4_3465932.1352477333276";
        report-type=delivery-status

------=_Part_4_3465932.1352477333276
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<?xml version="1.0" encoding="UTF-8"?>
<html>
  <body>
    <p>We were permanently unable to deliver your message to the following recipients.  Please contact your system administrator with further questions.</p>
    <p>
      Failed Recipients:
      <ul>
        <li>baduser@direct.securehealthemail.com</li>
      </ul>
    </p>
    <p>
      Error Message:
      <br />
      The Direct address that you tried to reach could not be located or does not exist. Try double-checking the recipient's email address for typos or unnecessary spaces. Learn more by visiting our help.
    </p>
    <p></p>
  </body>
</html>

------=_Part_4_3465932.1352477333276
Content-Type: message/delivery-status; name=status.dat
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=status.dat

Reporting-MTA: dns;Local Delivery Service
X-Original-Message-ID: <b24e0d8d035c4e4fa4a44bad285226f5@ip-0abfb331>

Action: failed
Final-Recipient: rfc822;baduser@direct.securehealthemail.com
Status: 5.5.0

------=_Part_4_3465932.1352477333276--
root@ip-10-244-175-183:/opt/direct/james-2.3.2/bin/RawMessageSaveFolder# 
2012/11/09 16:10:54:284 UTC [INFO] GatewayState - Refreshing agent settings 
from configuration.

Original comment by gm2...@cerner.com on 9 Nov 2012 at 4:15

GoogleCodeExporter commented 9 years ago
Resolved in direct-common-1.1.2

Original comment by gm2...@cerner.com on 26 Jun 2013 at 12:51